Discussion 04 Functions and ModulesIn python programming, a function is a block of code that only runs when it is called. Functions in python helps the programmer reuse codes. Reusing codes starts and ends with a simple function. What the programmer does is to take some line of codes, give them a name, and they are reused. In many cases, functions usually combine instructions into a single line of code (Payne, 2019). The main purpose of functions is to allow a programmer to code a bunch of sub-steps easily. Python functions have their own working space this is because every variable inside a function can only be reused during the execution of the function (Payne, 2019). Functions run only when they are called. For example, creating a function with “def.” functiondef my_function(): print("Hello from a function")On the other hand, the python module is a collection of functions that are packaged in a file that can also be reused (Payne, 2019). Python modules always allow a programmer to logically organize python code. I strongly believe, that grouping related code into a module makes it easier to understand the code of any program. To create a module you need to save