Hello,

Why does : def distance_from_zero(arg):

print abs(arg)

return abs(arg)

return : 10 ? (What is the function abs ?)

Thank you

Hello,

Why does : def distance_from_zero(arg):

print abs(arg)

return abs(arg)

return : 10 ? (What is the function abs ?)

Thank you

Hi the function `abs()`

return the absolute value of a number.

Example

```
print abs(-54)
#Output
54
print abs(-10)
#Output
10
print abs(20)
#Output
20
```