swdev-git-interactive-rebase/math.py

13 lines
254 B
Python
Raw Normal View History

2024-10-11 14:52:00 +02:00
def addition(a: float, b: float) -> float:
2024-10-11 14:49:02 +02:00
return a + b
2024-10-11 14:49:38 +02:00
def subtraction(a: float, b: float) -> float:
return a - b
2024-10-11 14:52:27 +02:00
def multiplication(a: float, b: float) -> float:
return a * b
def division(a: float, b: float) -> float:
return a / b