diff --git a/app/calculator.py b/app/calculator.py index 4f380e8e..e2e7b97c 100644 --- a/app/calculator.py +++ b/app/calculator.py @@ -14,3 +14,5 @@ def divide(x, y): return 'Cannot divide by 0' return x * 1.0 / y + def mul_add(x, y): + return (x + y) * x