swdev-git-interactive-rebase/math.py

6 lines
160 B
Python
Raw Normal View History

2024-10-11 14:50:42 +02:00
def addition(a: float, b: float) -> str: # this does not seem right! why str?
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