How to create a clock that display live time in python? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to create a clock that display live time in python?

Like a digital watch which displays only time

18th Dec 2018, 2:29 AM
GUNA D
GUNA D - avatar
2 Answers
+ 2
You can also use datetime.strftime to format time and date: https://code.sololearn.com/cuKFZdTDAyFK/?ref=app
18th Dec 2018, 6:16 AM
Anna
Anna - avatar
0
Throws time limit exceeded
21st Dec 2018, 5:24 AM
GUNA D
GUNA D - avatar