Skip to content

Commit 1cd7513

Browse files
committed
add functions to calculator
1 parent 084da6f commit 1cd7513

1 file changed

Lines changed: 1 addition & 16 deletions

File tree

calculator.py

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -8,19 +8,4 @@ def subtract(a,b):
88
return a-b
99

1010
def divide(a,b):
11-
return a/b
12-
13-
14-
15-
def square(a):
16-
return a * a
17-
18-
19-
def cube(a):
20-
return a * a * a
21-
22-
23-
if __name__ == "__main__":
24-
print("I'm going to use the calculator functions to multiply 5 and 6")
25-
x = multiply(5, 6)
26-
print(x)
11+
return a/b

0 commit comments

Comments
 (0)