Functions in Python
We define function using the keyword def.
So basically:
def function_name(para1,para2):
#code
The default value returned is None.
You can check it:
Check out the sample program:
def example():
print ('Yay! This is my function!')
for x in range(1,6):
example()