+ 1
Please I am trying to solve the "Time up" puzzle and I don't know what's wrong .I need to move to another level.
# take the number as input number = int(input()) #use a while loop for the countdown while number>0: print(number) number = number-1
1 Antwort
+ 4
You have an Infinite loop because your indentation is wrong. Try indenting the last line.
The reason for the Infinite loop is because the variable 'number' never changes since it is outside of the loop.