Python Tutorial
In previous blog we see that the Built-in Functions. In this blog we see that the User-defined Functions.
User-defined functions are those functions which are defined by user to perform a specific task. These functions are not already exist in python. Such functions are created by user for better use in his work. So lets see that how we use user-defined functions.
Example 1. Simple function1 using to print Hello World.
Output:
Example 2. pythoncode4you function is used to print the exact value of 'a' using if-else in the function.
Output:



