hey, i need help with Review: Built in Functions.
when i click save and submit code it says:
Oops, try again. Your function seems to fail on input True when it returned '1' instead of 'Nope'.
here is my code:
def dstance_from_zero(n): if type(n) == int or type(n) == float: return abs(n) else: return "Nope"
help would be highly appreaciated, thanks!