Question: 
Write a function that matches a string that has an a followed by zero or more b's.


Model's Code:
def text_match(string):
    import re
    if re.fullmatch(r'a(b*)', string):
        return 'Found a match!'
    else:
        return 'Not matched!'



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


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


Tests:
Test 1 of 3: FAIL: AssertionError()

Test 719 of 974: 542/719 (75.38247566063978%): failed