From 1e249d7645ef51520bf662dc9dab1810d27b2851 Mon Sep 17 00:00:00 2001 From: Benjamin Hackl Date: Fri, 11 Oct 2024 14:51:32 +0200 Subject: [PATCH] fixed type hint in addition --- math.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/math.py b/math.py index 8ce432c..d416679 100644 --- a/math.py +++ b/math.py @@ -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: