'''
Functions are very useful in python because you can use them instead
of repeating code in your program which makes your code messy.
'''
def functionName():
print('Hello World!')
functionName()
functionName()
def add(a, b):
print(a + b)
add(2, 4)
add(11, 35)
def addFive(value):
return value + 5
myVar = addFive(3)
print(myVar)
'''
Keep in mind that scope comes into play in your functions. If you
create a variable in a function, it won't be saved outside the
function.
'''
def createVar():
myVar = 5
createVar()
print(myVar)