0
Help me to solve this plz
# take the number as input number = int(input()) #use a while loop for the countdown while number > 0:
3 odpowiedzi
+ 2
Based on the second comment in the code, I guess you're trying to write a countdown program.
You should substract 1 from the input variable "number" after printing it's value in the while loop.
When it reaches 0, the loop is finished.
+ 5
what have you tried so far?
start by writing a while-loop
+ 3
To the best of my knowledge, this is an in-course code coach problem, you need to show us your code first because if you don't try it yourself then everything goes in vain.
Hope you understood!