I'm aware that I cann pass a function name as an argument to another function i.e
def fun_passed(a,b):
    #do something
def main_fun(arg,fun_passed):
    #do something
#call main_fun
first_fun =fun_passed
main_fun(1,first_fun)
Inside main_fun how can I make some checks.
For example, Based on the function i passed i want to set a variable
def main_fun(1,fun_passed):
     if fun_passed==first_fun:
             i=1
     else:
             i=10
I can't simply use == because i think that comparison doesn't make sense.
Thanks
 
     
     
    