Write short note on user defined function.
Question :
Write short note on user defined function.
A part from the library functions that are in built in Python, users can also define functions to do a task relevant to their programs. Such functions are called user-defined functions. These functions should be codified by the user, so that any call to the function can refer to it.