Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Sep 18th, 2012  |  syntax: Python  |  size: 0.56 KB  |  hits: 14  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. In [8]: for i in range(100):
  2.    ...:     sys.stdout.write("%d\t" % i)
  3.    ...:     sys.stdout.flush()
  4.    ...:     if i%20 == 0: print()
  5.    ...:     pause(0.3)
  6.    ...:     7       8       9       10      11      12      13      14      15      16      17      18      19      20      25      26      27      28      29      30      31      32      33      34      35      36      37      38      39      40      51      52      53      54      55      56      57      58      59      60      90      91      92      93      94      95      96      97      98      99