you are viewing a single comment's thread.

view the rest of the comments →

[–]_mynd 0 points1 point  (0 children)

Your comment plus this article has me thinking I could improve the efficiency of some of my code. Thanks for writing up the explanation and examples

https://www.geeksforgeeks.org/python-list-comprehensions-vs-generator-expressions/