- #1
zeion
- 466
- 1
Homework Statement
Hi,
I'm not sure what this does:
s = 'hello'
I understand
s[::-1] would reverse the order of the letters and
s[1::] slices the first letter
but how come
s[1::-1] returns 'eh' ?