title: creating a dict from 2 given lists
body: <p>This is a working script i wrote to build a <code>dictionary</code> from 2 given lists: the <code>i-th</code> object in <code>L1</code> is a <code>key</code> to <code>value</code> located in the <code>i-th</code> place of <code>L2</code>.</p>
  
  <pre><code>L1=[1,2,'a','b']
  L2=[(22,'aa'),['x'],('3',),('s',3)]
  
  d = {}
  
  sizeL = len(L1)
  for i in range(sizeL):
      key = L1[i]
      val = L2[i]
      d[key] = val
  
  print "Output:\n"
  print "\nL1=",L1
  print "L2=",L2
  print "dictionary d = ",d
  </code></pre>
  
  <p>I want to try it in different way: by using <code>dict</code> function. Therefore, i need to creat a list with tuples i guess. I cant understand how. this is what i try:</p>
  
  <pre><code>L1=[1,2,'a','b']
  L2=[(22,'aa'),['x'],('3'),('s','3')]
  L=[]
  n=len(L1)
  
  for i in range(n):
      L.append(L1[i],L2[i])    
  d=dict(L)
  print d
  </code></pre>
  
  <p>Ofcourse i get error because the wrong-using of the <code>append</code> function..</p>
  
  <p>Would like to get idea how to create this "tuple list", a list that can be used by <code>dict</code> function.</p>
  
  <p>thanks!</p>