if type('arg') == int
elif type('arg') == float
Not sure why this isn't working. Comes back with an error of:
Oops, try again. It looks like you have a NameError. Maybe you forgot to create a function called distance_from_zero? Check the error message for more info! - global name 'distance_from_zero' is not defined.