#A function is a block of code which only runs when it is called. #You can pass data, known as parameters, into a function. #following is a simple function def exmple_of_function(): print("Hello from a function") example_of_function()