Ah yeah, I see. Thanks!
You can add code snippets using three backticks `.
Let me format it for you and then we’ll have a look.
EDIT: It looks like both __getitem__ and __len__ are members of __init__.
Could you reduce one indentation level so that all three methods are on par?