I am investigating the slicing of a string with the following code:
s='abcdefgh'
print(len(s))
print(s[-1:-9:-1])
print(s[-8])
whose output is:
8
hgfedcba
a
Why when printing reverse we need to slice till -9 while the last character i.e 'a' at -8?