A = [[1, 2, 3], [2, 3, 4], [4, 5, 6]]
I am trying my best to print A of the form:
A
1 2 3 2 3 4 4 5 6
That
If you are in Python 3.x:
print(*('{} {} {}'.format(*r) for r in A), sep='\n')
or:
print(*('%d %d %d' % tuple(r) for r in A), sep='\n')
If not, you can import Python 3.x's print function from the __future__ module.
__future__