title: two unequal lists into a dictionary. give none if key has no value. ignore value does not have a key - python
body: <p>There are two lists of different lengths. The first contains keys, and the second contains values. Write a function that creates a dictionary from these keys and values. If the key did not have enough values, the dictionary should have the value None. Values that did not have enough keys should be ignored.</p>
  <pre><code>a = ['a','b','c']
  b = [1,2,3,4,5]
  
  while len(b) &lt; len(a):
    b.append(None)
  
  c = dict(zip(a,b))
  print(c)
  </code></pre>
  <p>instead of defining 2 lists in the program, how to solve if user wants input 2 lists of unequal length</p>