循环ため、dict.setdefault(キー、[])。(値)を追加し、結果= defaultdict(リスト)

NoSuchKey

おすすめ

転載: www.cnblogs.com/liyun1/p/11248123.html