Determine the value returned by the function.
def abs_value(num):
result = abs(num)
return result
Function Call | Return Value | |||
---|---|---|---|---|
abs_value(2) | → | |||
abs_value(-105) | → | |||
abs_value(-50) | → | |||
abs_value(3) | → |
Experiment with this code on Gitpod.io