Answer:
len(word2) >= len(word1) and len(word2) >= len(word3):
Question with blank is below
def longest_word(word1,word2,word3):
if len(word1) >= len(word2) and len(word1) >= len(word3):
word = word1
elif _________________________________________
word = word2
else:
word = word3
return word
print(longest_word("chair","couch","table"))
print(longest_word("bed","bath","beyond"))
print(longest_word("laptop","notebook","desktop"))
print(longest_word("hi","cat","Cow"))
Explanation
In line 1 of the code word1, word2, and word3 are the parameters used to for the defining the longest_word function. They will be replaced by 3 words to be compared. The code that is filled in the blank is len(word2) >= len(word1) and len(word2) >= len(word3): It is a conditional statement that is true only if the number of characters in the string of word2 is greater than or equal to word1 and word2 is greater than that of word3 .