I was wondering if we can print like row-wise in python.
Basically I have a loop which might go on million times and I am printing out some strategic counts in that loop.. so it would be really cool if I can print like row-wise
print x
# currently gives
# 3
# 4
#.. and so on
and i am looking something like
print x
# 3 4
In Python2:
or in Python3:
prints