top of page
Search

PYTHON CODING

  • Writer: waclaw_koscielniak
    waclaw_koscielniak
  • 2 minutes ago
  • 1 min read

import time from datetime

import datetime

while True:

now = datetime.now()

current_time = now.strftime("%H:%M:%S")

print("Digital Clock:", current_time)

time.sleep(10)



[Running] python3 -u "/Users/name/test/test935.py"

Digital Clock: 15:56:31

Digital Clock: 15:56:41

[Done] exited with code=null in 11.946 seconds


Try to run it.
Try to run it.

















 
 
 

1 Comment


Guest
2 minutes ago

Try this digital clock.

Like
bottom of page