I am new learner and learning Python from a book.
I did what was written in the book....
I made a list like this below.....
players = ['charles', 'martina', 'michael', 'florence', 'eli']
Then I wrote...
print(players[0:3])
#The results were like this....
['charles', 'martina', 'michael']
So my question is this.... When we write the starting number (which is 0 in this case) we follow the "off by one" rule.... but when we write 3 as the end value... we have the third element!!!! Why do we not follow the "off by one" rule here?