Run
keys_list = ['foo', 'bar', 'moo'] output = {key: 0 for key in keys_list} print(output)
Output