Question: 
Write a function to split a string at lowercase letters.


Model's Code:
def split_lowerstring(s):
    result = []
    current = ''
    for char in s:
        if char.islower():
            if current:
                result.append(current)
            current = char
        else:
            current += char
    if current:
        result.append(current)
    return result



Sample Correct Code:
import re
def split_lowerstring(text):
 return (re.findall('[a-z][^a-z]*', text))


Asserts:
assert split_lowerstring("AbCd")==['bC','d']
assert split_lowerstring("Python")==['y', 't', 'h', 'o', 'n']
assert split_lowerstring("Programming")==['r', 'o', 'g', 'r', 'a', 'm', 'm', 'i', 'n', 'g']


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

Test 15 of 974: 10/15 (66.66666666666666%): failed