/Function-in-Python

This repository includes different methods to define Functions in Python.

Primary LanguagePython

Functions-in-Python

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

If you want to call a function, you need to use the function name in parenthesis:

my_function()