fork download
  1. import sys
  2. import time
  3.  
  4. for i in range(10):
  5. sys.stdout.write("\r" + str(i))
  6. sys.stdout.flush()
  7. time.sleep(0.5)
Success #stdin #stdout 0.03s 9600KB
stdin
Standard input is empty
stdout
0
1
2
3
4
5
6
7
8
9