fork download
  1. import datetime
  2. x = datetime.datetime.now()
  3. print("=================")
  4. print("|| DIGITAL ||")
  5. print("|| CLOCK ||")
  6. print("=================")
  7. print("||",x.strftime("%H:%M:%S")," ||")
  8. print("=================")
Success #stdin #stdout 0.02s 9352KB
stdin
Standard input is empty
stdout
=================
||   DIGITAL   ||
||    CLOCK    ||
=================
|| 15:50:29    ||
=================