Python while loops | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Python while loops

What is the wrong thing, can you help me https://code.sololearn.com/c7kd9YZC0o79/?ref=app

25th Aug 2023, 6:19 AM
UĞUR AKÇAY
5 Answers
+ 2
Think it should countdown to 0. Like this: while number >= 0:
25th Aug 2023, 10:45 AM
Paul
Paul - avatar
+ 3
Looks to be working for me. Are you getting an error message or unexpected behavior? What values did you test with?
25th Aug 2023, 7:11 AM
Dan
+ 1
more details?
25th Aug 2023, 8:42 AM
Mohamed Beder Oumar
Mohamed Beder Oumar - avatar
+ 1
Thank you all answer. Sololearn wants to output is 3-2-1-0. I try Pauls answer and its work
25th Aug 2023, 10:50 AM
UĞUR AKÇAY
0
Bffhkk
27th Aug 2023, 4:14 AM
Rahul Majhi
Rahul Majhi - avatar