can someone help me please with this code,
it looks like its all good, but this message is keep coming up.
what is wrong with my code here?
a Error message
Oops, try again. Your function seems to fail on input True when it returned '1' instead of 'Nope'
this is my code: def distanc_from_zero(one): if type(one) == int or type(one) == float: return abs(one) else: return "nope"