Assuming I have a (mathematical) function hyperbolic (it can also be a lambda function):
def hyperbolic(x):
return a*x + b
I know its possible to pass it in another function and get the name (and other parameters) like so:
def inspect(func):
print (func.__name__)
My question is:
is it possible to printout the actual mathematical code of the function?