chore: reset calculator to a clean baseline

This commit is contained in:
typosaurus
2026-07-25 18:58:10 +02:00
parent ff830c6fb8
commit f5363514bf
3 changed files with 0 additions and 70 deletions
-12
View File
@@ -6,15 +6,3 @@ def add(left: int, right: int) -> int:
def subtract(left: int, right: int) -> int:
return left - right
def modulo(left: int, right: int) -> int:
if right == 0:
raise ValueError('modulo by zero')
return left % right
def gcd(left: int, right: int) -> int:
while right:
left, right = right, left % right
return abs(left)