Question: 
Write a function to check whether the given string is starting with a vowel or not using regex.


Model's Code:
import re

def check_str(s):
    if re.match(r'^[aeiouAEIOU]', s):
        return 'Valid'
    else:
        return 'Invalid'



Sample Correct Code:
import re 
regex = '^[aeiouAEIOU][A-Za-z0-9_]*'
def check_str(string): 
	if(re.search(regex, string)): 
		return ("Valid") 
	else: 
		return ("Invalid") 


Asserts:
assert check_str("annie") == 'Valid'
assert check_str("dawood") == 'Invalid'
assert check_str("Else") == 'Valid'


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

Test 737 of 974: 559/737 (75.84803256445048%): success