Loading

Quipoin Menu

Learn • Practice • Grow

python / Magic Methods
exercise
1/5
Exercise 1Python
Question

Implement the `__len__` and `__getitem__` methods for a custom class `Playlist` that holds a list of songs. Test with indexing and len().