Python Initialize Dict com valores de lista vazios
from collections import defaultdict
data = defaultdict(list)
data[1].append('hello')
bougui
from collections import defaultdict
data = defaultdict(list)
data[1].append('hello')