調べもの:Python defaultdict [プログラミング学習]
Pythonの組み込みコンテナ型の一つ。
「python defaultdict - Google 検索」
https://www.google.co.jp/search?q=python+defaultdict
「8.3. collections — コンテナデータ型 — Python 3.6.5 ドキュメント」
https://docs.python.jp/3/library/collections.html
「Python Tips:辞書にアイテムが存在しない場合のデフォルト値を設定したい - Life with Python」
https://www.lifewithpython.com/2015/05/python-dict-default-value.html
「キー毎にリストを作成したい場合に defaultdict 便利 - 断章10100」
http://d.hatena.ne.jp/naka-06_18/20131114/1384437408
「python defaultdict - Google 検索」
https://www.google.co.jp/search?q=python+defaultdict
「8.3. collections — コンテナデータ型 — Python 3.6.5 ドキュメント」
https://docs.python.jp/3/library/collections.html
「Python Tips:辞書にアイテムが存在しない場合のデフォルト値を設定したい - Life with Python」
https://www.lifewithpython.com/2015/05/python-dict-default-value.html
「キー毎にリストを作成したい場合に defaultdict 便利 - 断章10100」
http://d.hatena.ne.jp/naka-06_18/20131114/1384437408
コメント 0