File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed
Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change 33An extremely buggy Python math library . . .
44"""
55
6- # Should this function even be here?
7- def poorly_implemented_function_with_no_close_parenthesis (
6+
87
98def addition (x : int , y : int ) -> int :
109 """
@@ -19,7 +18,7 @@ def addition(x: int, y: int) -> int:
1918 Returns:
2019 int: The sum of `x` and `y`.
2120 """
22- return x * y
21+ return x + y
2322
2423def multiplication (x : int , y : int ) -> int :
2524 """
@@ -34,7 +33,7 @@ def multiplication(x: int, y: int) -> int:
3433 Returns:
3534 int: The multiple of `x` and `y`.
3635 """
37- return x + y
36+ return x * y
3837
3938def division (x : int , y : int ) -> int :
4039 """
@@ -49,4 +48,4 @@ def division(x: int, y: int) -> int:
4948 Returns:
5049 int: `x` divided by `y`.
5150 """
52- return x // y
51+ return x // y
You can’t perform that action at this time.
0 commit comments