Skip to content

Commit f17ddaa

Browse files
authored
Merge branch 'code4policy:main' into main
2 parents 9a78eda + cede375 commit f17ddaa

3 files changed

Lines changed: 16 additions & 0 deletions

File tree

606 Bytes
Binary file not shown.
14 KB
Binary file not shown.

calculator.py

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
def multiply(a,b):
2+
return a * b
3+
4+
def add(a,b):
5+
return a+b
6+
7+
def subtract(a,b):
8+
return a-b
9+
10+
def divide(a,b):
11+
return a/b
12+
13+
14+
print("I'm going use the calculator functions to multiply 5 and 6")
15+
x = multiply(5,6)
16+
print(x)

0 commit comments

Comments
 (0)