Solved! :"Need help! About "Introduction to Python" course, "Control Flow" Issue, Practice "Time's up""
Hi! Nice space for asking and solve doubts! Just needing help with the course of "Introduction to Python", in the issue of "Control Flow", the practice named "Time's up". Exercise: Create a time program that will take the number of seconds as input, and countdown to zero. It's the issue of loops and in this case it is needed the while loop. My answer was this one: " number = int(input()) while number > 0: number = number - 1 print(number) " Just don't know where's the mistake. Can anybody help me? What do you think about my answer? I think It's correct but the app says there's something wrong. I asked the IA assistant and solved the problem in the same way I did. But the app not because of that allowed me to continue with the other exercises. May be is something wrong, don't know what to think. Thanks for your time, wish someone can help me with this. Greetings and have nice programming study time! Correct solution: number = int(input()) while number >=0 print(number) number = number - 1