Python One Line Key Increment atau Tambah

my_dict[key] = my_dict.get(key, 0) + 1
slgotting