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
In Python2:
data = [3, 4] for x in data: print x, # notice the comma at the end of the line
or in Python3:
for x in data: print(x, end=' ')
prints
3 4