Question: 
Write a function to find sequences of lowercase letters joined with an underscore.


Model's Code:
def text_lowercase_underscore(s):
    import re
    if re.fullmatch(r'[a-z]+_[a-z]+', s):
        return 'Found a match!'
    else:
        return 'Not matched!'



Sample Correct Code:
import re
def text_lowercase_underscore(text):
        patterns = '^[a-z]+_[a-z]+$'
        if re.search(patterns,  text):
                return 'Found a match!'
        else:
                return('Not matched!')


Asserts:
assert text_lowercase_underscore("aab_cbbbc")==('Found a match!')
assert text_lowercase_underscore("aab_Abbbc")==('Not matched!')
assert text_lowercase_underscore("Aaab_abbbc")==('Not matched!')


Tests:
Test 1 of 3: PASS
Test 2 of 3: PASS
Test 3 of 3: PASS

Test 16 of 974: 11/16 (68.75%): success