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.
You are viewing a single comment's thread from: