Ad
Code
Diff
  • def remainder(x, y): return x % y if x and y else -1
    • def remainder(x, y):
    • if x == 0 or y == 0:
    • return -1
    • rem = x % y
    • return rem
    • def remainder(x, y): return x % y if x and y else -1