I recently read a line of code and do not understand what is it meaning, the code is
import collections
d = collections.defaultdict(lambda : [-1, -1, -1])
I'm confused about the lambda here. I only know lamnda x: x+1. Usually, we have an argument for lambda. What if we don't have argument like this code?
Thanks a lot,