Closed riseriyo closed 10 years ago
What's written is all we have right now. I agree that the explanation for that part doesn't feel entirely complete. I haven't found a good explanation of list comprehensions online that didn't rely heavily on examples to teach the syntax.
I was looking at this a bit yesterday evening... I think someone needs to make an image linking the different loop parts to show how they are the same pieces shuffled. The notbooks seem a bit too restrictive to do it directly through formatting.
Closing since this seems to be addressed in current Part 4 version and PR #41. Please reopen if needed. :cookie:
Concerning the squared_numbers example: Ok, I'm assuming that you are going to go over how the list comprehension is written out differently from a for-loop, correct? e.g., what part of the for-loop is where in the list comprehension, etc.