x = defaultdict(lambda: defaultdict(int))
how do you interpret this code? Initial impression is that x would be a dictionary with values calling the lambda function which creates another dictionary with values int.
x = defaultdict(lambda: defaultdict(int))
how do you interpret this code? Initial impression is that x would be a dictionary with values calling the lambda function which creates another dictionary with values int.