Search for question
Question

with a wide 1. Write a Python function that accepts a list of strings as an argument (list_1). The function should process the list of strings to determine which list element is the longest string (made up of the most characters). The longest string found in the list should be sent back as a return value to the calling code. For example, if the list ['Cat', 'dog', 'Hello Python', 'zebra', 'abcd'] was sent as an argument to the function, the string 'Hello Python' should be sent back as a return value to the calling code. 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