Im stuck!


#1

def distance_from_zero(dis):
if type(dis) == int or type(dis) == float:
return abs()
else:
return "Nope"
im stuck. help me


#2

Recall the abs takes one argument, a number.


#3

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.