Alright, let's start with what functions actually are?

Why do we need functions in a program?

DRY - Do not Repeat Yourself

A quick intro to functions in python

Creating a function:
Calling a function:
Hello there John Doe
Thank you for taking your time to read my post ;)
Hello there Jane Doe
Thank you for taking your time to read my post ;)
Passing arguments to a function:
reader("John Doe")
reader("Jane Doe")
As we have seen the power of functions,
pass statements inside a function can be really helpful
whenever we feel lazy to do something and decide to do later ;)
Note: The body of any statement containing pass statements are ignored by the python interpreter, just like it ignores comments.
There you go, now you can create your own functions and play with it.
Code along and fave fun.