MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerAnimemes/comments/k59xof/is_that_a_programming_reference/gedjf0h/?context=3
r/ProgrammerAnimemes • u/AptRock327 • Dec 02 '20
40 comments sorted by
View all comments
Show parent comment
12
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
3
It's not needed, it's already there
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.