def findfivo(ol,*args,**kwargs):
args = list(args)<EOL>lngth = args.__len__()<EOL>if(lngth==<NUM_LIT:0>):<EOL><INDENT>diff_funcs_arr = kwargs['<STR_LIT>']<EOL>diff_args_arr = kwargs['<STR_LIT>']<EOL><DEDENT>elif(lngth==<NUM_LIT:1>):<EOL><INDENT>if('<STR_LIT>' in kwargs):<EOL><INDENT>diff_funcs_arr = args[<NUM_LIT:0>]<EOL>diff_args_arr = kwargs['<STR_LIT>']<EOL><DEDENT>else:<EOL><INDENT>diff_funcs_arr = kwargs['<STR_LIT>']<EOL>diff_args_arr = args[<NUM_LIT:0>]<EOL><DEDENT><DEDENT>else:<EOL><INDENT>diff_funcs_arr = args[<NUM_LIT:0>]<EOL>diff_args_arr = args[<NUM_LIT:1>]<EOL><DEDENT>lngth = ol.__len__()<EOL>rslt = []<EOL>for i in range(<NUM_LIT:0>,lngth):<EOL><INDENT>index = i<EOL>value = ol[i]<EOL>func = diff_funcs_arr[i]<EOL>args = diff_args_arr[i]<EOL>cond = func(index,value,*args)<EOL>if(cond):<EOL><INDENT>rslt.append((index,value))<EOL><DEDENT>else:<EOL><INDENT>pass<EOL><DEDENT><DEDENT>return(rslt)<EOL>
#findfivo          f,i,v,o四元决定                     fivo-4-tuple-engine
#cond_func         diff_func(index,value,*diff_args)