I would like to send two arguments within a function and receive two values as well
I want to modify this code so that I code be able to send two arguments and receive two as well
list_value = [ 1, 2,0,-1,-9,2,3,5,4,6,7,8,9,0,1,50]
hnd = map(lambda (valua): function_f(valua), list_value)
function_f is a function return one number either 1 or 0.
The above code can do the job when sending one argument but I want to send two instead of. the first argument of the required function is list_value and the second argument is a model "net model train it using caffe"
so I would like to write a function that can do the same job of the previous function but returning two arguments one is [0 or 1] and the other is a modified model which this function has modified.