You are viewing a single comment's thread from:

RE: Python is Awesome: List Comprehensions

in #math7 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.