Skip to content

Commit 23b838e

Browse files
authored
Merge pull request #1 from code4policy/calculator
Calculator
2 parents cede375 + 5ddf8a7 commit 23b838e

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

calculator.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,15 @@
1-
def multiply(a,b):
2-
return a * b
3-
41
def add(a,b):
52
return a+b
63

74
def subtract(a,b):
85
return a-b
96

7+
def multiply(a,b):
8+
return a * b
9+
1010
def divide(a,b):
1111
return a/b
1212

13-
1413
print("I'm going use the calculator functions to multiply 5 and 6")
1514
x = multiply(5,6)
1615
print(x)

0 commit comments

Comments
 (0)