Mega Code Archive

 
Categories / Python / Function
 

Define simple function in Python

def hello():     print "Hello, world!" def test():     hello() if __name__ == '__main__': test()