title: How to insert values from a list, into a tuple with python?
body: <p>I have list</p>
  <pre><code>[2, 237, 3, 1]
  </code></pre>
  <p>And I also have tuples</p>
  <pre><code>[(0, 0, {'product_id': x, 'product_uom_qty': y}), (0, 0, {'product_id': x, 'product_uom_qty': y})]
  </code></pre>
  <p>Both of these are dynamically generated. I want the value of this list, to be inserted into the x and y of the tuples. like so</p>
  <pre><code>[(0, 0, {'product_id': 2, 'product_uom_qty': 237}), (0, 0, {'product_id': 3, 'product_uom_qty': 1})]
  </code></pre>
  <p>I know tuples are immutable, so I tried to assign the list a variable such as</p>
  <pre><code>test = [2, 237, 3, 1]
  </code></pre>
  <p>This leads to</p>
  <pre><code>[(0, 0, {'product_id': [2, 237, 3, 1], 'product_uom_qty': [2, 237, 3, 1]}), (0, 0, {'product_id': [2, 237, 3, 1], 'product_uom_qty': [2, 237, 3, 1]})]
  </code></pre>
  <p>I need a way to include specific values into the tuple, is there such a way to do this?</p>