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 used as keys and the elements of the second list are used as values. If the lists are of different lengths, the resulting dictionary should only include key-value pairs up to the length of the shorter list.
  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([], [1, 2, 3]) == {}
  assert create_dict(['a', 'b', 'c'], []) == {}
output: def create_dict(keys, values):
      return {keys[i]: values[i] for i in range(min(len(keys), len(values)))}