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()