RE: Python is Awesome: List Comprehensions

You are viewing a single comment's thread from:

Python is Awesome: List Comprehensions

in math •  7 years ago  (edited)

Consider explaining the subject in more details, like writing an equivalent function for a list comprehension, compare performance etc. It would be also worth noting that writing this: (i for i in (1, 2, 3)) we get generator instead of tuple.

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!