Python zainicjuj DICT z pustymi wartościami listy

from collections import defaultdict
data = defaultdict(list)
data[1].append('hello')
bougui