diff --git a/main.py b/main.py index 59325b9..7912bda 100644 --- a/main.py +++ b/main.py @@ -9,7 +9,8 @@ def add(x, y): """Add two integers.""" # your code here - return + z=sum(x,y) + return z def multiply(x, y): @@ -18,10 +19,11 @@ def multiply(x, y): return -def power(x, n): - """Raise x to power n, where n >= 0, using the functions above.""" +def add(x, y): + """Power two integers.""" # your code here - return + z=pow(x,y) + return z def factorial(x):