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
  • 115,751
  • 26
  • 228
  • 437
zyazzy
  • 9
  • 2

0 Answers0