Find the longest word in a pair and print its length.
The variables word1 and word2 are defined for you.
Tip: Make use of len() and max() functions.
Find the longest word in a pair and print its length.
The variables word1 and word2 are defined for you.
Tip: Make use of len() and max() functions.
Sample Input 1:
Riddikulus
AlohomoraSample Output 1:
10Sample Input 2:
earthquake
SupercalifragilisticexpialidociousSample Output 2:
34Create a free account to access the full topic