0 out of 464 challenges solved
Write a function `text_lowercase_underscore` that checks if a given string contains sequences of lowercase letters joined by an underscore (`_`). The function should return `True` if the string matches this pattern and `False` otherwise.
#### Example Usage
```python [main.nopy]
text_lowercase_underscore("aab_cbbbc") # True
text_lowercase_underscore("aab_Abbbc") # False
text_lowercase_underscore("Aaab_abbbc") # False
```import re
def text_lowercase_underscore(text):
"""
Check if the input string contains sequences of lowercase letters joined by an underscore.
Args:
text (str): The input string to check.
Returns:
bool: True if the string matches the pattern, False otherwise.
"""
# Define the pattern for lowercase letters joined by an underscore
pattern = '' # TODO: Add the correct regex pattern
# Check if the pattern matches the input text
return False # TODO: Implement the matching logic