0 out of 464 challenges solved
Write a Python function `len_longest_word(words)` that takes a list of strings `words` and returns the length of the longest word in the list. #### Example Usage: ```python [main.nopy] print(len_longest_word(["python", "PHP", "bigdata"])) # Output: 7 print(len_longest_word(["a", "ab", "abc"])) # Output: 3 print(len_longest_word(["small", "big", "tall"])) # Output: 5 ``` #### Constraints: - The input list will contain at least one string. - All elements in the list are non-empty strings.
def len_longest_word(words): """ Find the length of the longest word in the list. Args: words (list of str): A list of strings. Returns: int: The length of the longest word. """ # Placeholder for the solution pass