Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
Can you solve this in other way?! solution in Clear category for Find Remainder by gleb10101010101
def find_remainder(dividend: int, divisor: int) -> int:
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!")
Sept. 29, 2023
Comments: