Share 3-Functions - and - Modules
Share 3-Functions - and - Modules
Link:- https://www.w3schools.com/python/python_ref_functions.asp
Math Constant Methods
Math Methods
Functions
A function is a block of code which only runs when it
is called.
You can pass data, known as parameters, into a
function.
A function can return data as a result.
Functions
2) User-defined Functions:
Functions that we define ourselves to do certain specific
task are referred as user-defined functions.