create dict from lists using key list again : <p>I have two list</p>

<pre><code>listA = (1,2,3,4)
listB = (A,B,C,D,A,B,C,D,A,B,C,D,A,B,C,D,A,B,C,D)
</code></pre>

<p>I want to build a dictionary reusing <code>listA</code> as the key to all values in <code>listB</code></p>

<pre><code>dict = {1:A,2:B,3:C,4:D,1:A,2:B,3:C,4:D,1:A,2:B,3:C,4:D,1:A,2:B,3:C,4:D,1:A,2:B,3:C,4:D}
</code></pre>

<p>I am not able to use <code>itertools</code> I also have to take in to consideration that some of my values are empty so I am trying to build the <code>dict</code> like this</p>

<pre><code>def create_dict(keys,values):
  return dict(zip(keys, values + [None] * (len(keys) - len(values))))
</code></pre>

<p>Which works but only for length of the keys.</p>
