title: Send two argument using map and lambda functions and return two values
body: <p>I would like to send two arguments within a function and receive two values as well </p>
  
  <p>I want to modify this code so that I code be able to send two arguments and receive two as well</p>
  
  <pre><code>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)
  </code></pre>
  
  <p>function_f is a function return one number either 1 or 0.</p>
  
  <p>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"</p>
  
  <p>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.</p>