본문 바로가기

defaultdict

오토씨 2022. 3. 4.

>>> from collections import defaultdict
>>> d = defaultdict(int)
>>> d['no']
0
>>> int()
0

댓글