Search for question
Question

2. Write a Python function to accept a list of strings as an argument. The list should be processed by reversing the characters of each of the individual string values it contains. Once all of the string elements of the list are reversed, it should be sent back as a return value to the calling code. For example, if the list ['abc', 'def', 'Hello', 'xyz'] was sent as an argument to the function, after processing the following list of reversed string values should be sent back as a return value to the calling code ['cba', 'fed', 'olleH', 'zyx']. Make sure to test your function from the main program of your Python file and print the result to ensure it works correctly.

Fig: 1