Question: Python: I have a function that takes in multiple functions as variables and I was wondering how I would go about printing the function itself?

Python:
I have a function that takes in multiple functions as variables and I was wondering how I would go about printing the function itself?
ex:
f = function(int)
ex:
def mole(f):
print(after testing, f, we get... )
but printing f prints the actual function result when I only want to print the functions name

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!