venture of iit bombay vjti alumni python functions function is block of organizedreusable code that is used to perform singlerelated action functions provide better modularity for your application and high degree of code reusing as you already knowpython gives you many built-in functions like print()etc but you can also create your own functions these functions are called user-defined functions defining function you can define functions to provide the required functionality here are simple rules to define function in python function blocks begin with the keyword def followed by the function name and parentheses any input parameters or arguments should be placed within these parentheses you can also define parameters inside these parentheses