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â
2 Answers
+ 1
You have to apply indentation for this program.
number = int(input())
while (number>=0) :
print(number)
number -=1
0
number = int(input())
#your code goes here
while (number>=0):
print(number)
number -=1