keys = ['a', 'b', 'c'] d = dict.fromkeys(keys, []) d['a'].append(1)… — Python | Тесты для программистов — TG.ME