input: Write a python function to create a dictionary from a list where the keys are the indices and the values are the items from the list.
  assert create_dict_from_list(["Apple", "Banana", "Carrot"]) == {0: "Apple", 1: "Banana", 2: "Carrot"}
  assert create_dict_from_list(["Dog", "Cat", "Rabbit"]) == {0: "Dog", 1: "Cat", 2: "Rabbit"}
  assert create_dict_from_list([]) == {}
output: def create_dict_from_list(lst):
      return {i: item for i, item in enumerate(lst)}