Define simple function in Python
def hello(): print "Hello, world!" def test(): hello() if __name__ == '__main__': test()
1. | A function definition | ||
2. | Power function | ||
3. | A function that writes the Fibonacci series to an arbitrary boundary | ||
4. | Define a function in Python | ||
5. | Function call | ||
6. | Factorial function |