From 9a8c5ef6eb36df83fe26f370f056043d5aa8be29 Mon Sep 17 00:00:00 2001 From: porter-sh <110302460+porter-sh@users.noreply.github.com> Date: Thu, 22 Sep 2022 19:26:51 -0500 Subject: [PATCH] Update calculator.py --- calculator.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/calculator.py b/calculator.py index a5c3aed..a6da896 100644 --- a/calculator.py +++ b/calculator.py @@ -19,7 +19,7 @@ def addition(x: int, y: int) -> int: Returns: int: The sum of `x` and `y`. """ - return x * y + return x + y def multiplication(x: int, y: int) -> int: """ @@ -34,7 +34,7 @@ def multiplication(x: int, y: int) -> int: Returns: int: The multiple of `x` and `y`. """ - return x + y + return x * y def division(x: int, y: int) -> int: """ @@ -49,4 +49,4 @@ def division(x: int, y: int) -> int: Returns: int: `x` divided by `y`. """ - return x // y \ No newline at end of file + return x / y