A minor quibble, but in Python 3 you can print in a lambda because print is no longer a keyword.
map(print, some_list)
Unfortunately, it returned a map object, which I guess is also new in Python 3 (I assume it's a lazy application device). print(*[1,2,3], sep='\n') def do(gen):
for x in gen:
pass
It evaluates all elements of a generator with storing them in memory. If you don't mind generating some garbage, you can just use the list function instead.