Doctest using tables to make copy/paste easier:
>>>
...
...
for i in range(10): print i, print
0 1 2 3 4 5 6 7 8 9
>>>
...
...
for i in range(10): print i, print
0 1 2 3 4 5 6 7 8 9
Cell borders on
Cell borders off