⚙️ Functions & Modules
Defining Functions
Reusable blocks of code with inputs and outputs.
Define a function with def. Inputs are called *parameters*, and you return a value with return.
def greet(name):
return f"Hello, {name}!"
print(greet("World"))