I would like to make several statements that give standard output without seeing newlines in between statements.
Specifically, suppose I have:
for it
for Python 2.7
for x in range(0, 3): print x,
for Python 3
for x in range(0, 3): print(x, end=" ")