June 2019
Beginner to intermediate
770 pages
19h 24m
English
The StatsList2 example didn't show us the implementation of __setitem__() or __delitem__() because they involve slices. We'll need to look at the implementation of a slice before we can implement these methods properly.
Sequences have two different kinds of indexes:
This basic syntax works in three contexts:
Read now
Unlock full access