how to make a simple clock using python
import time while True: from datetime import datetime now = datetime.now() print ("%s/%s/%s %s:%s:%s" % (now.month,now.day,now.year,now.hour,now.minute,now.second)) time.sleep(1) you can see the output in the pics


Comments