how to pass return values from a function to parameters or a class in python code example
Example: python function that takes a function
def myfunc(anotherfunc, extraArgs):
anotherfunc(*extraArgs)
def myfunc(anotherfunc, extraArgs):
anotherfunc(*extraArgs)