Run »
x = ('key1', 'key2', 'key3') thisdict = dict.fromkeys(x) print(thisdict)
['key1': None, 'key2': None, 'key3': None]