For example if I am making a program that runs the function and then prints what the function is called, how would I do it?
Here is my code so far:
def takeinafunc(func):
func()
print(f"The function: {the_func_name} has been ran above.")
For example if I am making a program that runs the function and then prints what the function is called, how would I do it?
Here is my code so far:
def takeinafunc(func):
func()
print(f"The function: {the_func_name} has been ran above.")