Reverse it
Question
Suppose you're given an array of strings, s
. Write a function using Python to take each string in the array and reverse it.
For example:
#Given the following:
s = ['rac', 'talf', 'tot', 'tob']
#Your function should return:
s = ['car', 'flat', 'tot', 'bot']