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
For python 2:
for x in num: print x,
For python 3:
for x in num: print(x, end = ' ')