default value for a fucntion in dictionary python code example Example: python defaultdict default value d = defaultdict(lambda:1)