-
Notifications
You must be signed in to change notification settings - Fork 42
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
Recommendation to remove index 9 for a 9-element list #14
Comments
I put the ppt with suggested changes on the cloud server for review. |
Hey @thawn , I think we need the 9 to explain what this code does:
Does this make sense? |
Now I understand what you mean - thanks :) To me, the 9 was confusing, because it gave the impression that the list of indices contains the element The elegance of putting the indices in-between the elements becomes clear when thinking about range-indexing. |
On slides 5 - 18 and 23-24 of Python_data_structures.pdf, there is a 9-element list ("A" - "I") as an example for indexing:
I recommend to remove the index number 9:
The text was updated successfully, but these errors were encountered: