a_list = ["a_string", "the_longest_string", "string"] longest_string = max(a_list, key=len) print(longest_string)