In Python, using a map for it isn't very appropriate. map() is good for
mapping from some values to some other values. print() returns None, so you're not really mapping to anything.
Another way to look at it is that map() is a functional idea, and in functional programming side-effects are evil.
If you simply call list() on the generator returned by map(), you'll get the output. But as you can tell by the code, it's just not ideal. Your code makes it look like you want a list, when you don't, and creating that list means you'll be using memory that you don't need to occupy.