Python Functions
Creating a Function
In Python a function is defined using the def keyword:
Example
def my_function():
print("Hello from a function")
In Python a function is defined using the def keyword:
def my_function():
print("Hello from a function")