I would like to know how does Reverse String Slicing works. For example
name = 'Python'
print(name[4:1])
This code wouldn't give me any result, not even any error. What is actually happening here?
But if I write
print(name[4:1:-1])
It will give the result as "oht"