Skip to content

Commit 39ba1e1

Browse files
committed
update
0 parents  commit 39ba1e1

45 files changed

Lines changed: 1753 additions & 0 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.DS_Store

12 KB
Binary file not shown.

Python tutorial - 11 - Modules in python/.idea/Python tutorial - 11 - Modules in python.iml

Lines changed: 11 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Python tutorial - 11 - Modules in python/.idea/misc.xml

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Python tutorial - 11 - Modules in python/.idea/modules.xml

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Python tutorial - 11 - Modules in python/.idea/workspace.xml

Lines changed: 338 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Binary file not shown.
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#This is a module named calculation
2+
def add2Numbers(a, b):
3+
return a + b
4+
5+
def minus2Numbers(a, b):
6+
return a - b
7+
8+
def multiply2Numbers(a, b):
9+
return a * b
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
#import some functions only
2+
from calculation import add2Numbers, minus2Numbers, multiply2Numbers
3+
import pprint
4+
5+
if __name__=='__main__':
6+
pprint.pprint(add2Numbers(10, 20))
7+
pprint.pprint(minus2Numbers(10, 20))
8+
pprint.pprint(multiply2Numbers(10, 20))
105 KB
Binary file not shown.

Python tutorial - 12 - Packages in python/.idea/Python tutorial - 12 - Packages in python.iml

Lines changed: 11 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)