input: Write a function named create_dictionary that takes two lists as input and returns 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, the function should ignore the extra elements in the longer list.
  assert create_dictionary(['a', 'b', 'c'], [1, 2, 3])=={'a': 1, 'b': 2, 'c': 3}
  assert create_dictionary(['x', 'y'], [10, 20, 30])=={'x': 10, 'y': 20}
  assert create_dictionary([], [1, 2])=={}
  assert create_dictionary(['a'], [])=={}
output: def create_dictionary(keys, values):
      return {keys[i]: values[i] for i in range(min(len(keys), len(values)))}