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 elements of the first list are the keys and the corresponding elements of the second list are the values. If the lists have different lengths, the function should only use the elements that have corresponding pairs.
  assert create_dict(['a', 'b', 'c'], [1, 2, 3])=={'a': 1, 'b': 2, 'c': 3}
  assert create_dict(['a', 'b'], [1, 2, 3])=={'a': 1, 'b': 2}
  assert create_dict(['a', 'b', 'c'], [1, 2])=={'a': 1, 'b': 2}
  assert create_dict([], [])=={}
  assert create_dict(['a'], [])=={}
output: def create_dict(keys, values):
      return {keys[i]: values[i] for i in range(min(len(keys), len(values)))}