Consider these examples using print
in Python:
>>> for i in range(4): print('.')
.
.
.
.
>>> print('.', '.', '.', '.')
. . . .
Either a newline or a space is added between each value. How can I avoid that, so that the output is ....
instead? In other words, how can I "append" strings to the standard output stream?