You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
To me, the 9 was confusing, because it gave the impression that the list of indices contains the element 9.
Also, I was puzzled for a while, which index belongs to which 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: