title: how to convert two lists into a dictionary (one list is the keys and the other is the values)?
body: <p>This is code in IDLE2 in python, and error.</p>
  
  <p>I need to include each "data" element as key and value "otro", in an orderly manner. Well "data" and "otro" it's list with 38 string's, as for "dik" it's an dictionary.</p>
  
  <pre><code>&gt;&gt;&gt; for i in range(len(otro)+1):
      dik[dato[i]] = otro[i]  
  
  Traceback (most recent call last):
    File "&lt;pyshell#206&gt;", line 2, in &lt;module&gt;
      dik[dato[i]] = otro[i]
  IndexError: list index out of range
  &gt;&gt;&gt; 
  </code></pre>
  
  <p>this problem is range(0, 38) 
  output -> (0, 1,2,3 ... 37) and it is all messy</p>