Question: what is the difference between a module and a function?
Answer: What is the difference between a module and a function? A module is group of statements that exist within a program for the purpose of performing a specific task and a function is a type of module that returns a value back to the program that called it.