From 84da966af70e29434eb68ba4d7851fbe0cc2c68f Mon Sep 17 00:00:00 2001 From: tushar2525252 <72274287+tushar2525252@users.noreply.github.com> Date: Sat, 3 Oct 2020 00:06:45 +0530 Subject: [PATCH] Update main.py I just add function of add and power function to it --- main.py | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) 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):