Skip to content

Commit fd5b4fb

Browse files
committed
Added some simple code
1 parent 4db3b41 commit fd5b4fb

2 files changed

Lines changed: 35 additions & 0 deletions

File tree

.project

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<projectDescription>
3+
<name>python_test</name>
4+
<comment></comment>
5+
<projects>
6+
</projects>
7+
<buildSpec>
8+
<buildCommand>
9+
<name>org.python.pydev.PyDevBuilder</name>
10+
<arguments>
11+
</arguments>
12+
</buildCommand>
13+
</buildSpec>
14+
<natures>
15+
<nature>org.python.pydev.pythonNature</nature>
16+
</natures>
17+
</projectDescription>

src/demo/foo.py

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
'''
2+
Created on 25 Mar 2015
3+
4+
@author: ssg37927
5+
'''
6+
7+
8+
def add(a, b):
9+
return a+b
10+
11+
def sub(a, b):
12+
return a-b
13+
14+
def mul(a, b):
15+
return a*b
16+
17+
def div(a, b):
18+
return a/b

0 commit comments

Comments
 (0)