title: Error when the lambda expression is taking two arguments in Python
body: <p>I am new to Python and practicing basics. I am using a lambda expression to take two arguments and performing square operations on them (eg: <code>var ** 2</code>). The two arguments are coming from the <code>zip(list1, list2)</code>. I am getting <code>TypeError</code> for this. I tried searching for the solution but didn't get any. I even tried writing lambda arguments in parenthesis (eg: <code>lambda (v1,v2):</code>) but that threw <code>SyntaxError</code>.</p>
  
  <p>Below is the python code:</p>
  
  <pre><code>list1 = [1,2,3,4]
  list2 = [5,6,7,8]
  print ( list(map(lambda v1,v2: (v1**2, v2**2), list(zip(list1, list2)))) )
  </code></pre>
  
  <p>Error:</p>
  
  <pre><code>TypeError                                 Traceback (most recent call last)
  &lt;ipython-input-241-e93d37efc752&gt; in &lt;module&gt;()
        1 list1 = [1,2,3,4]
        2 list2 = [5,6,7,8]
  ----&gt; 3 print ( list(map(lambda v1,v2: (v1**2, v2**2), list(zip(list1, list2)))) )
  
  TypeError: &lt;lambda&gt;() missing 1 required positional argument: 'v2'
  </code></pre>