Python Python Collections (2016, retired 2019) Slices sillyCase

not sure why editor kept saying "couldn't find 'sillycase'"?

attached is my code, when checking work the editor kept showing the "can't find sillycase" message, why?

sillycase.py
def sillycase(string):
    half = round(len(string)/2)
    first_half = string[:half].lower()
    second_half = string[half:].upper()
    return(frist_half+second_half)

1 Answer

Your last line has a spelling error.

thank you! face palm