Zainicjuj słownik do zera w Pythonie
from collections import defaultdict
my_dict = defaultdict(int)
my_dict[1] += 1
Unusual Unicorn
from collections import defaultdict
my_dict = defaultdict(int)
my_dict[1] += 1