0 out of 464 challenges solved
Write a Python function `find_char_long` that takes a string as input and returns a list of all words in the string that are at least 4 characters long. Words are defined as sequences of alphanumeric characters separated by spaces or punctuation. #### Example Usage ```python [main.nopy] find_char_long("Please move back to stream") # Output: ['Please', 'move', 'back', 'stream'] find_char_long("Jing Eco and Tech") # Output: ['Jing', 'Tech'] find_char_long("Jhingai wulu road Zone 3") # Output: ['Jhingai', 'wulu', 'road', 'Zone'] ```
import re def find_char_long(text): """ Find all words in the input string that are at least 4 characters long. Args: text (str): The input string. Returns: list: A list of words that are at least 4 characters long. """ # Use a regular expression to find words of at least 4 characters. pass # Replace this with your implementation