You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

19 lines
258 B

def modulo(a, b):
if b == 0:
return 0
else:
return a % b
def divide(a, b):
if b == 0:
return 0
else:
return a / b
def integer_division(a, b):
if b == 0:
return 0
else:
return a // b