I have to get a word which contains the longest word containing "e" from a list. how would I go about this a main function has not been provided. this function has been provided
Im having issues with defining word list how would i in the main function refer to to the test function
def test_get_longest_e_word(): print("1.", get_longest_e_word(["Melissa", "Jessie", "Kath", "Amity", "Raeann"])) print("2.", get_longest_e_word(["Jo", "Jessie", "Penelope", "Jin", "Raeann", "Pamelita"])) etc....
def get_longest_e_word(word_list):
Im having issues with defining word list how would i in the main function refer to to the test function