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