Python question (SOLVED) | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

Python question (SOLVED)

Can someone help me create a timer program that takes the no of seconds as input and countdown until 0 using the while loop in python, I have tried but am just so confused

11th Apr 2024, 7:25 AM
Edfy Mash
Edfy Mash - avatar
5 Answers
+ 3
still no code.... I hope this helps: while (condition): output increment/decrement # don't forget: while loop runs until the condition is True
11th Apr 2024, 3:38 PM
Mihaly Nyilas
Mihaly Nyilas - avatar
+ 2
SHOW what you have tried so we can check on your code attempt.
11th Apr 2024, 9:06 AM
Lisa
Lisa - avatar
+ 1
Thanks I got the answer
11th Apr 2024, 3:38 PM
Edfy Mash
Edfy Mash - avatar
+ 1
Thanks a lot
12th Apr 2024, 12:17 AM
Edfy Mash
Edfy Mash - avatar
0
EdfyMash , Some people add [Solved] to the title so people know help is no longer needed. By the way, that Sololearn example doesn't really count down by seconds as they describe it. It counts down as fast as possible.
11th Apr 2024, 10:27 PM
Rain
Rain - avatar