Review: Built-In Functions. type(n) == int or type(n) == float:


if type(n)== int or float:
return abs (n)
return "nope"

why is this a wrong code

Replace this line with your code.


This question has been asked several times...
Check this thread...

I hope it helps you.

You have to define a function in this exercise.


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