python3 how to print the longest word in a sentence code example
Example: python longest word in string
def find_longest_word(word_list):
longest_word = max(word_list, key=len)
return longest_word
def find_longest_word(word_list):
longest_word = max(word_list, key=len)
return longest_word