Oops, try again. Your function seems to fail on input True when it returned '1' instead of 'Nope'
def zero_distance(x): type(x) if type(x) == int or type(x) == float: return abs(x) else: return "nope" zero_distance(5)
Where is the mistake ? Please help. Thx