title: Use two loops inside a dictionnary
body: <p>I have two lists:</p>
  <pre><code>a = [1, 2, 3]
  b = [1, 2, 3]
  </code></pre>
  <p>I would like to have them like:</p>
  <pre><code>{1: 1, 2: 2, 3: 3}
  </code></pre>
  <p>I tried:</p>
  <pre><code>print({k: v for k in a for v in b})
  </code></pre>
  <p>But I get:</p>
  <pre><code>{1: 3, 2: 3, 3: 3}
  </code></pre>