title: How to get value on a certain index, in a python list?
body: <p>I have a list which looks something like this</p>
  
  <pre><code>List = [q1,a1,q2,a2,q3,a3]
  </code></pre>
  
  <p>I need the final code to be something like this </p>
  
  <pre><code>dictionary = {q1:a1,q2:a2,q3:a3}
  </code></pre>
  
  <p>if only I can get values at a certain index e.g List[0] I can accomplish this, is there any way I can get it?</p>