0

Help Python

number = int(input()) #your code goes here while (number>=0): print(number) number -=1 What is wrong with this code? I’m trying to make a countdown from the input number to 0. But it says “File too large”

28th Nov 2022, 11:10 PM
Andrius Savciukas
2 Answers
+ 1
You have to apply indentation for this program. number = int(input()) while (number>=0) : print(number) number -=1
29th Nov 2022, 7:56 AM
Anonymous
Anonymous - avatar
0
number = int(input()) #your code goes here while (number>=0): print(number) number -=1
29th Nov 2022, 2:41 AM
Yaroslav Vernigora
Yaroslav Vernigora - avatar