0
Solved time up for coding data
Your are creating a time sheet for a data set # take the number as input number = int(input()) #use a while loop for the countdown while number>= 0: print(number) number=number-1
8 ответов
+ 1
OK look at your code
What is while, is it a conditional block ? ending in a colon ':'
If so the lines below it are required to be indented ..
look at your own code in the comments of the previous thread.
+ 1
Yes it does and this is directly your answer from the previous conversation
Christian Francis you just asked and received responses as you said you did it ...
https://www.sololearn.com/Discuss/3317978/?ref=app
https://sololearn.com/compiler-playground/cddsiTBJVV70/?ref=app
+ 1
It did, it does, and you even have an example in your codes from a year ago that is a working example only dealing with seats.
seats = int(input()) # initial number of seats
while seats >= 0: # seat available?
print(seats) # ticket sold
seats = seats - 1 # number of seats updated
https://sololearn.com/compiler-playground/c0f51l8PucGt/?ref=app
0
Christian Francis you just asked and received responses as you said you did it ...
https://www.sololearn.com/Discuss/3317978/?ref=app
0
That did not work
0
It does not like print (number)
0
Its not working
0
I did it thank you