Empezar un tema nuevo

Button Down Challenge

Hi: I can't seem to solve this challenge. When I press the button down it is supposed to print out how many times the bitton was depressed. When I hit the button for the first time the program spits out that I pressed the button over 900 times.

Did anyone solve this challenge?

1 comentario

It does the same for me, but I think this is normal, due to the way the tasked asked us to code it. The “while” part of the code is constantly running in a loop. I am probably wrong, but it make sense to me.

1 Persona Te gusta esto
Iniciar sesión o Registrarse para publicar un comentario