fixed type hint in addition

This commit is contained in:
Benjamin Hackl 2024-10-11 14:51:32 +02:00
parent 8a992b7089
commit 1e249d7645

View file

@ -1,4 +1,4 @@
def addition(a: float, b: float) -> str: # this does not seem right! why str?
def addition(a: float, b: float) -> float: # this does not seem right! why str?
return a + b
def subtraction(a: float, b: float) -> float: