DEV Community 👩‍💻👨‍💻

Discussion on: Pythonic code: the list comprehension

mblayman profile image
Matt Layman Author

Yes, the last example was a bit contrived to illustrate the possibility of nested comprehensions. I'm a big fan of knowing built-in function so I think using zip is a perfectly reasonable and Pythonic alternative.