Help!


#1



def distance_from_zero(a):
    if type(a) == int or type(a) == float:
        print abs(a)
    else:
        return "Nope"

it doesn't work for -10


#4

Did you mean to write,

        return abs(a)

?