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 elements of the second list are the corresponding values. If the lists are of different lengths, ignore any extra elements in the longer list.
  
  assert create_dict(['a', 'b', 'c'], [1, 2, 3])=={'a': 1, 'b': 2, 'c': 3}
  assert create_dict(['x', 'y'], [4, 5, 6])=={'x': 4, 'y': 5}
  assert create_dict([], [7, 8])=={}
  assert create_dict(['p', 'q', 'r'], [])=={}
  assert create_dict([], [])=={}
output: def create_dict(keys, values):
      return {keys[i]: values[i] for i in range(min(len(keys), len(values)))}