A function is a block of organized, reusable code that is used to perform a single, related action. Functions provide better modularity for your application and a high degree of code reusing.
As you already know, Python gives you many built-in functions like print(), etc. but you can also create your own functions. These functions are called user-defined functions.
in this tutorial Complete function explanation with the help of examples
These All points are discussed
#Types OF Function
#def keyWord
#def sum(a,b)
#syntex of py Fun
#Invoking function
#Function Return statment in python
#Python Function Arguments And Parameters
#Passing Parameters