Skip to content

Commit 76f46cc

Browse files
committed
defined add, subtract, divide, multiply functions and printed division of 30 / 6
1 parent a73ecc6 commit 76f46cc

1 file changed

Lines changed: 0 additions & 16 deletions

File tree

calculator.py

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -13,19 +13,3 @@ def divide(a, b):
1313
print("I'm going use the calculator functions to divide 30 by 6")
1414
x = divide(30,6)
1515
print(x)
16-
def multiply(a,b):
17-
return a * b
18-
19-
def add(a,b):
20-
return a+b
21-
22-
def subtract(a,b):
23-
return a-b
24-
25-
def divide(a,b):
26-
return a/b
27-
28-
29-
print("I'm going use the calculator functions to multiply 5 and 6")
30-
x = multiply(5,6)
31-
print(x)

0 commit comments

Comments
 (0)