Skip to content

Commit 8c42154

Browse files
committed
creating a module comments and samples
1 parent 509ad00 commit 8c42154

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

creating_a_module/first_module.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11

22
import math
33

4+
# * Let's encapsulate some code in this file
5+
# * Here we declared some functions to be use outside this file
6+
# * Use these functions on the script.py file
7+
48
# *** Calculate areas *** #
59

610
# * Triangle area

0 commit comments

Comments
 (0)