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