What is the use of negative indices in slicing?
Python counts from the end (right) if negative indices are given.
(eg) * = “Hello”
print *[:-3] >> He
print *[-3:] >> llo