title: How to make a dictionary from two nested list?
body: <p>I have two nested lists:</p>
  
  <pre><code>list1 = [['s0'], ['s1'], ['s2']]
  list2 = [['hello','world','the'],['as','per','the'],['assets','order']]
  </code></pre>
  
  <p>and I want to make a dictionary from these lists with keys from <code>list1</code> and values from <code>list2</code>:</p>
  
  <pre><code>d = {s0:['hello','world','the'],s1:['as','per','the'],s2:['assets','order']}
  </code></pre>
  
  <p>The output should look like this:</p>
  
  <pre><code>d = {s0:['hello','world','the'],s1:['as','per','the'],s2:['assets','order']}
  </code></pre>
  
  <p>The following code works if <code>list1</code> is a normal (non-nested) list. But it doesn't work when <code>list1</code> is a nested list.</p>
  
  <pre><code>dict(zip(list1, list2))
  </code></pre>