-
Notifications
You must be signed in to change notification settings - Fork 25
Part 4: squared_numbers - First Example of list comprehension. #17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
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. 🍪 |
Fixes #17 Author: Micah Denbraver <[email protected]>
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.
The text was updated successfully, but these errors were encountered: