def dict_with_indexes(words):
    """
    The function takes a list of words as its argument.
    Returns a dict with the key as the index of the word and value as the word.

    For example, 
    INPUT: ["apple", "ball", "cat", "dog"]
    OUTPUT: {0: "apple", 1: "ball", 2: "cat", 3: "dog"}
    """
    return {index: word for index, word in enumerate(words)}