Python Functions
A function is a reusable block of code designed to perform a specific task.
Creating a Function
Use the def keyword.
def greet():
print("Hello")
Parameters and Arguments
Parameters receive values when a function is called.
return
A function can return a result using the return statement.
Functions improve code reuse, organization, readability, and testing.