0
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.

jonrsharpe
  • 107,083
  • 22
  • 201
  • 376
zyazzy
  • 9
  • 2

0 Answers0