title: Extract words from list of lists and store them in a separate variable in python
body: <p>I have this list of lists and I would like to extract each word from the list and store them in a separate variable</p>
  <pre><code>keywords=[[('tarifa',), ('mantenimiento',), ('mensual',)],
  [('tasa',), ('anual',)],
  [('tasa',)],
  [('int ',)],
  [('comision',)],
  [('seguro',), ('bancaria',)],
  [('seguro',), ('generales',)],
  [('mi salud',), ('unific',)]]
  </code></pre>
  <p>So for each list you should have kw variables, for example for the first list:
  kw1='tarifa' kw2='mantenimiento' kw3 = 'mensual'
  For the second list
  kw1='tasa' kw2='anual'
  and so on</p>
  <p>I have this code:</p>
  <pre><code>for i in range(len(keywords)):
      for j in range(len(keywords[i])):
          print(&quot;'&quot;+keywords[i][j][0]+&quot;'&quot;,end=&quot;,&quot;)
      print()
  </code></pre>
  <p>but it only returns this:</p>
  <pre><code>'tarifa','mantenimiento','mensual',
  'tasa','anual',
  'tasa',
  'int ',
  'comision',
  'seguro','bancaria',
  'seguro','generales',
  'mi salud','unific',
  </code></pre>