function to return the reverse of an array of characters in python code example Example: python string reverse 'hello world'[::-1] # 'dlrow olleh'