Hi. I am not exactly new to python but I have never done anything related to time and I don't know how. I want to make a count down timer that starts when I start a program and then either closes when I close the program or when it counts down to zero. Please help.
Nancy 92
0
Newbie Poster
Recommended Answers
Jump to Posttry this.
very simpleimport time boom=59 while boom >0: time.sleep(1) print(boom) boom -=1
Jump to PostI cant get this to work
All 5 Replies
richieking
44
Master Poster
Ashu_1
0
Newbie Poster
foxy 5
0
Newbie Poster
Gribouillis
1,391
Programming Explorer
Team Colleague
HiHe
174
Junior Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.