Course Hive
Search

Welcome

Sign in or create your account

Continue with Google
or
Countdown timer program in Python โŒ›
Play lesson

Python tutorial for beginners ๐Ÿ - Countdown timer program in Python โŒ›

4.0 (0)
8 learners

What you'll learn

This course includes

  • 14.3 hours of video
  • Certificate of completion
  • Access on mobile and TV

Summary

Keywords

Full Transcript

#python #tutorial #course import time my_time = int(input("Enter the time in seconds: ")) for x in range(my_time, 0, -1): seconds = x % 60 minutes = int(x / 60) % 60 hours = int(x / 3600) print(f"{hours:02}:{minutes:02}:{seconds:02}") time.sleep(1) print("TIME'S UP!")

Course Hive

Continue this lesson in the app

Install CourseHive on Android or iOS to keep learning while you move.

Related Courses

FAQs

Course Hive
Download CourseHive
Keep learning anywhere