data = {k: [] for k in range(2)}
d = dict() d = {}
from collections import defaultdict data = defaultdict(list) data[1].append('hello')