Skip to content

Commit e415024

Browse files
committed
add: new module to package
1 parent 959827d commit e415024

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

src/mypackage/add_number.py

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
"""A module that adds numbers together"""
2+
3+
def add_num(num_1, num_2):
4+
"""A function that adds two numbers together
5+
6+
Parameters
7+
----------
8+
num_1 : int
9+
The second number that the function will add.
10+
num_2 : int
11+
The second number that the function will add.
12+
13+
Return
14+
------
15+
The sum of two numbers
16+
"""
17+
return num_1 + num_2

0 commit comments

Comments
 (0)