Printing without adding a newline or whitespace at the end
>>> for i in range(3):
print(i, end="") # Python 3.x only.
012
Printing without adding a newline or whitespace at the end
>>> for i in range(3):
print(i, end="") # Python 3.x only.
012