dic.fromkeys code example Example: dict.fromkeys in python for fruit, color in test.items(): # do stuff