You can't slice from right to left with a positive step (it defaults to `1`), did you want `[-3:-1]` (which would be `['cat', 'lion']`)?
– jonrsharpeOct 08 '20 at 18:23
syntax is `[start:stop]` under no circumstance start can be greater than stop. https://stackoverflow.com/questions/509211/understanding-slice-notation
– EquinoxOct 08 '20 at 18:25
Thank You @venky__
animals[-3:-1] - This would have been my required syntax for the result. Cheers!
– Sarad JainOct 08 '20 at 18:33