If someone could help that would be grand, severly stuck please help.
Error messages = Oops, try again. Your function seems to fail on input -10 when it returned 'Nope' instead of '10'
It seems as though it should work?
def distance_from_zero(r): if r == int or r == float: return abs(r) else: return "Nope"