title: Converting a list of lists to a tuple in Python
body: <p>I have a list of lists (generated with a simple list comprehension):</p>
  
  <pre><code>&gt;&gt;&gt; base_lists = [[a, b] for a in range(1, 3) for b in range(1, 6)]
  &gt;&gt;&gt; base_lists
  
  [[1,1],[1,2],[1,3],[1,4],[1,5],[2,1],[2,2],[2,3],[2,4],[2,5]]
  </code></pre>
  
  <p>I want to turn this entire list into a tuple containing all of the values in the lists, i.e.:</p>
  
  <pre><code>resulting_tuple = (1,1,1,2,1,3,1,4,1,5,2,1,2,2,2,3,2,4,2,5)
  </code></pre>
  
  <p>What would the most effective way to do this be?  (A way to generate this same tuple with list comprehension would also be an acceptable answer.)  I've looked at answers here and in the Python documentation, however I have been unable to find a suitable one.</p>
  
  <p><strong>EDIT:</strong></p>
  
  <p>Many thanks to all who answered!</p>