list with same values to dictionary python code example Example: list to dict python with same values fruit_dictionary = dict.fromkeys(fruits, "In stock")