I'm stuck. What is wrong with this code?
if type(n) == int or type(n) == float:
I get error message:
File "python", line 4
SyntaxError: 'return' outside function
Oops, try again. Your function seems to fail on input True when it returned '1' instead of 'Nope'