This is just Basic Syntax:
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.
Please if you have more questions or comments let me know or click here to see more info:
https://www.tutorialspoint.com/python/python_functions.htm
Top comments (0)