Determine the value returned by the function.
def adder(val1, val2):
total = val1 + val2
return total
Function Call | Return Value | |||
---|---|---|---|---|
adder(2, 3) | → | |||
adder(2, -2) | → | |||
adder(0, 20) | → | |||
adder(-50, 15) | → | |||
adder(6, 5) | → |
Experiment with this code on Gitpod.io