Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
quest grinding solution in Uncategorized category for Find Remainder by Bifftastic
def find_remainder(dividend: int, divisor: int) -> int:
# your code here
return dividend % divisor
print("Example:")
print(find_remainder(3, 2))
# These "asserts" are used for self-checking
assert find_remainder(10, 3) == 1
assert find_remainder(14, 4) == 2
assert find_remainder(27, 4) == 3
assert find_remainder(10, 5) == 0
assert find_remainder(10, 1) == 0
assert find_remainder(5, 7) == 5
assert find_remainder(7, 5) == 2
print("The mission is done! Click 'Check Solution' to earn rewards!")
Jan. 7, 2024
Comments: