A string can reversed using the built-in reversed() function, which takes a string and returns an iterator in reverse order.
>>> reversed('hello')
<reversed object at 0x0000000000000000>
>>> [char for char in reversed('hello')]
['o', 'l', 'l', 'e', 'h']
reversed() can ...