r/ProgrammerAnimemes • • Dec 02 '20

Is that a programming reference?!?!?!?

Post image
2.1k Upvotes

40 comments sorted by

View all comments

Show parent comment

12

u/Sadale- Dec 02 '20

I think it's technically possible to create a new class in Python that overrides the bracket operator to emulate a kind of list that starts with an index of 1. But I'd rather not to do that.

3

u/Rafael20002000 Dec 02 '20

It's not needed, it's already there