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
If you add comma at the end it should work for you.
>>> def test(): ... print 1, ... print 2, ... >>> test() 1 2