id/email
password
forgot password | create account
about | help | prefs
ReadingBatcode reading practice

 

 

Athenian: Variablesmod1

prev  |  next  |  chance

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

⬅ Back