Find the longest word

Report a typo

Create a program to find the longest of the words given and outputs the length of the longest word. Fill in the gaps with the correct built-in functions.

Fill in the gaps with the relevant elements
word1 = "short"
word2 = "longer"
word3 = "longest"
def find_longest(word1, word2, word3):
    return ((word1), (word2), len(word3))

Create a free account to access the full topic