how to reverse a string using a list code example Example: reverse string in python 'hello world'[::-1] 'dlrow olleh'