Functions:
- Function is a block of code that can only run when it is called. Functions can break your program to small parts to do an specific job of the program. It also makes your life easier to don’t use a block of code multiple times.
To define a function:
def FunctionName():
block of code
block of code