create function to call other function via parameterpython code example
Example: difference between calling a function and referencing a function python
def caller(f):
f()
def hello():
print("hi")
def goodbye():
print("bye")
caller(hello) # Prints "hi"
caller(goodbye) # Prints "bye"