The big little idea
A function is a reusable recipe. Define it with def, give it a name, and call it whenever you need that recipe. Parameters let the recipe work with different ingredients.
def double(number):
return number * 2
print(double(6))return sends a value back to the place where the function was called. It is different from print(): return gives the result to your code, while print() displays it to the person running the program.