Functions

Functions are packets of statements that can be used repeatedly. Functions can accept any number of inputs and can return any number of outputs.The name of a function must be a valid identifier. If a function name is the same as a variable name, the variable name takes precedence. Similarly, if a user-defined function and built-in function have the same name, the user-defined function takes precedence.