How to set default value for a dict code example Example: python defaultdict default value d = defaultdict(lambda:1)