Output being printed in the same line, Py3k
Posted
by edoi
on Stack Overflow
See other posts from Stack Overflow
or by edoi
Published on 2010-06-05T22:09:10Z
Indexed on
2010/06/05
22:12 UTC
Read the original article
Hit count: 108
In Python 2.x, I'd write...
for i in range(5):
print i,
...to get integers from 0 to 4 printed in the same row. How to do that in Python 3.x, since print is a function now?
© Stack Overflow or respective owner