►
Run
keys = ['apple', 'banana', 'cherry'] myDictionary = dict.fromkeys(keys) print(myDictionary)
Output