by basdftrewq · 5y ago · 0 comments
from collections import defaultdict d = defaultdict(int) d['non_existant_key']