Review - Built in Functions


#1



Replace this line with your code.


#2

Do you need any help?then you should ask something.


#3

def distance_from_zero(number):
if [type(number)==int] or [float]:
return abs
else:
print("Nope")
what is the problem with this code
y is this not running?
intendation is correct


#4

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