Powered by Ajaxy
Digg StumbleUpon LinkedIn YouTube Flickr Facebook Twitter RSS Reset

Python: How to Define simple function in Python

Python: How to Define simple function in Python
{filelink=16202}

def test(name, email, age=18):
    print "%s/%s/%d" % (name, email, age)
if __name__ == '__main__': test("jhon deer", "demo@gmail.com")

Users who found this page were searching for:

  • python loop through dictionary
  • how to define function in python
  • how to define python suboutines

No comments yet.

Leave a Comment