0 out of 464 challenges solved
Write a Python function `is_word_length_odd(word: str) -> bool` that takes a single word as input and returns `True` if the length of the word is odd, and `False` otherwise. #### Example Usage ```python [main.nopy] print(is_word_length_odd("hello")) # Output: True print(is_word_length_odd("world")) # Output: True print(is_word_length_odd("Python")) # Output: False ``` #### Requirements - The function should handle empty strings gracefully (return `False` for empty strings). - The input will always be a single word without spaces.
def is_word_length_odd(word: str) -> bool: """ Determine if the length of the given word is odd. Args: word (str): The word to check. Returns: bool: True if the length is odd, False otherwise. """ # Implement the logic to check if the length of the word is odd pass