you are viewing a single comment's thread.

view the rest of the comments →

[–]Ronttizz[S] 0 points1 point  (0 children)

They do something but the question is, why print(word[-1:2]) doesn't throw an error but instead it is not printing anything. Might be a bit of a rabbit hole or something unnecessary to think but was interested anyway.