19/19 Help!


def distance_from_zero(command):
    if type(command) == int:
        return abs(command)
    elif type(command) == float:
        return abs(command)
        return "nope"

Oops, try again. Your function seems to fail on input True when it returned 'nope' instead of 'Nope'
Can someone please help? I'm not sure what they want me to change,


Wow, I'm stupid. So sorry for anyone reading this


To mark this post solved, I will write the solution which is that the user was doing:

return "nope"

instead of "Nope".