I can print nested lists line by line by using for loop and " ".join() mapping each int in the nested list to a str with map().
Example:
>>> ys = [[1, 2, 3], [4, 5, 6], [7, 8, 9, 10]]
>>> for xs in ys:
... print(" ".join(map(str, xs)))
...
1 2 3
4 5 6
7 8 9 10
But I am trying to figure out how to do this again without for loops that can support arbitrary lengths of inner lists. Any suggestions?