how to reverse the string array python code example Example: how to reverse a string in python 'your sting'[::-1]