#DIGITAL CLOCK IN PYTHON
#clcoding
from datetime import datetime
from time import sleep
while 1:
n=datetime.now()
print(datetime.strftime(n,"%H:%M:%S"), end='\r')
sleep(1)
Author May 23, 2021 Python No comments
Author May 02, 2021 Python No comments
Free Python PDF Books
— Python Coding (@clcoding) October 6, 2022
🧵:
Can you guess the output of the second piece of code?🐍
Posted by Python Coding on Tuesday, 16 February 2021