> In a[1::-1] the end offset is 0 (or rather -1), because the step is
> negative. a[1:10:-1] means chars from index 1 (inclusive) to 10
> (non-inclusive), going backwards, so it's the empty string. a[10:1:-1]
> would've meant chars from index 10 (inclusive) to 1 (non-inclusive),
> going backwards, so it's '98765432'.
Thank you!