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 from the first list are the keys and the elements from the second list are the corresponding values. If the lists are of different lengths, the function should handle it by only mapping elements up to the length of the shorter list.
  
  ### Function Header:
  def create_dict_from_lists(list1, list2):
      
  ### Tests:
  assert create_dict_from_lists(['a', 'b', 'c'], [1, 2, 3])=={'a': 1, 'b': 2, 'c': 3}
  assert create_dict_from_lists(['a', 'b'], [1, 2, 3])=={'a': 1, 'b': 2}
  assert create_dict_from_lists(['a', 'b', 'c'], [1, 2])=={'a': 1, 'b': 2}
  assert create_dict_from_lists([], [1, 2, 3])=={}
  assert create_dict_from_lists(['a', 'b', 'c'], [])=={}
output: def create_dict_from_lists(list1, list2):
      return {list1[i]: list2[i] for i in range(min(len(list1), len(list2)))}