We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7ce998b commit 97419c4Copy full SHA for 97419c4
bit_manipulation/timer.py
@@ -0,0 +1,9 @@
1
+import time
2
+set_time=int(input("enter the time"))
3
+for i in range(set_time,0,-1):
4
+ second=i%60
5
+ minuit=int(i/60)%60
6
+ hour=int(i/3600)
7
+ print(f"{hour:02}:{minuit:02}:{second:02}")
8
+ time.sleep(1)
9
+print("your time is over")
0 commit comments