Open in CoCalc
t = walltime() while True: tm = int(walltime(t)) s = tm%60 tm = (tm-s)//60 m = tm%60 h = (tm - m)//60 smc.clear() print "%s:%s:%s"%(h,m,s) sys.stdout.flush() sleep(5)
Too many output messages (at most 256 per cell): attempting to terminate...
walltime(t)/60.
19.3682914694150