Answer:
In python:
The template/function is as follows:
def absval(value):
return abs(value)
Step-by-step explanation:
This defines the function
def absval(value):
This returns the absolute value of the argument using the abs() function
return abs(value)
To call the function from main, you may use:
print(absval(-4))