Question: 
Write a function that matches a string that has an a followed by three 'b'.


Model's Code:
def text_match_three(text):
    if 'abbbb' in text:
        return 'Found a match!'
    else:
        return 'Not matched!'



Sample Correct Code:
import re
def text_match_three(text):
        patterns = 'ab{3}?'
        if re.search(patterns,  text):
                return 'Found a match!'
        else:
                return('Not matched!')


Asserts:
assert text_match_three("ac")==('Not matched!')
assert text_match_three("dc")==('Not matched!')
assert text_match_three("abbbba")==('Found a match!')


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

Test 787 of 974: 596/787 (75.73062261753493%): success