GMgKe586q6suSQnyqZLlGCooeWM
Learn To Program
Increase Your Knowlegde and Build Your Skill!
Pages
Home
Me
Search
Sunday, December 19, 2010
Function In Python
Here's a simple Python Function:
>> def hello():
>> print "Holla World"
>> return 0;
To define function with parameter, use:
>> def addTwoNum( a, b):
>> c = a + b;
>> return c;
Function In Python
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment