A function in general is referred to as a block of code which is going to run only when called.
Why to use a function?
By making the use of function a user can be benefited because a specific block of code is not in play until unless we declare or call it..
Let us see how to create a function?
Creating a function:
now let me try to declare a function.
How to declare a function?
We generally declare a function with def() keyword
now let us dive into the coding:
def prequelc_function():
print(“Hello from a function”)

The above is the scenario when we just declared a function.
Now let us try to call it.
def prequel_function():
print(“Hey it is venky”)
prequel_function()
