<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>toeming</author_name>
  <author_url>https://blog.hatena.ne.jp/toeming/</author_url>
  <blog_title>雑記 in hibernation</blog_title>
  <blog_url>https://toeming.hatenablog.com/</blog_url>
  <categories>
    <anon>Python</anon>
  </categories>
  <description>表題まんまです。入れ子になっている辞書に要素を追加する方法の備忘録です。 1次元の辞書 こんな辞書があったとしまして、、、 dict_1dim = {&quot;a&quot;:1, &quot;b&quot;:2, &quot;c&quot;:3} dict_1dim {'a': 1, 'b': 2, 'c': 3} こんな感じで要素を追加できます。 dict_1dim[&quot;d&quot;]=4 dict_1dim {'a': 1, 'b': 2, 'c': 3, 'd': 4}</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftoeming.hatenablog.com%2Fentry%2F2022%2F02%2F22%2Fpython_add_item_to_2dimDict&quot; title=&quot;Pythonで2次元の辞書に要素を追加する - 雑記 in hibernation&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn.user.blog.st-hatena.com/default_entry_og_image/155948998/162174244170953</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2022-02-22 01:47:59</published>
  <title>Pythonで2次元の辞書に要素を追加する</title>
  <type>rich</type>
  <url>https://toeming.hatenablog.com/entry/2022/02/22/python_add_item_to_2dimDict</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
