input: Write a function to create a Python dictionary from two given lists. The function should take two lists as input and return a dictionary where the first list represents the keys and the second list represents the corresponding values. If the lists have different lengths, the additional elements from the longer list should be ignored.
  dict1 = dict(zip(['a', 'b', 'c'], [1, 2, 3])) 
  assert create_dict(['a', 'b', 'c'], [1, 2, 3]) == {'a': 1, 'b': 2, 'c': 3}
  assert create_dict(['x', 'y'], [10, 20, 30]) == {'x': 10, 'y': 20}
  assert create_dict([], []) == {}
  assert create_dict(['p', 'q'], []) == {'p': None, 'q': None}
  assert create_dict([1, 2], ['one', 'two']) == {1: 'one', 2: 'two'}
output: def create_dict(keys, values):
      return {k: v for k, v in zip(keys, values)}