Asked about Variables, strings and numbers

What does s[::-1] do?

An answer that works

It reverses the string. The three parts of a slice are start, stop and step, so a step of -1 walks backwards through the whole thing.

Reading an answer is not being able to give one. The section that teaches this is Variables, strings and numbers, 3 hours of Python.

Learn this properly