Determine the value returned by the function.
def mod(x, y):
result = x % y
return result
Function Call | Return Value | |||
---|---|---|---|---|
mod(2, 2) | → | |||
mod(5, 4) | → | |||
mod(20, 7) | → | |||
mod(6, 3) | → | |||
mod(3, 5) | → | |||
mod(22, 9) | → | |||
mod(5, 2) | → |
Experiment with this code on Gitpod.io