WHY DO I GET 'RETURN' OUTSIDE FUNCTION on the line 6? : def getContinue():
 response = input('Do you want to continue (y:n): ')
while response not in ('y', 'n', 'Y', 'N'):
    response = input('Do you want to continue (y:n): ')

if response in ('y', 'Y'):
    return 'y'
else:
    return 'n'


Write a Python function named getContinue that displays to the user “Do you want to continue (y/n): ”, and continues to prompt the user until either uppercase or lowercase 'y' or 'n' is entered, returning (lowercase) 'y' or 'n' as the function value. 



