0 of 464 solved

Match Lowercase Words Joined by an Underscore

Write a function `text_lowercase_underscore(text)` that returns `True` when `text` consists of exactly two lowercase words joined by a single underscore.

The string should contain only lowercase letters and one underscore between the two words.

#### Example
Input: `"aab_cbbbc"`
Output: `True`
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