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
Python 3:
l = [3.14, 'string', ('tuple', 'of', 'items')] print(', '.join(map(repr, l)))
Output:
3.14, 'string', ('tuple', 'of', 'items')