Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand All @@ -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):
Expand Down