<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>AKAGI-vrmstation</author_name>
  <author_url>https://blog.hatena.ne.jp/AKAGI-vrmstation/</author_url>
  <blog_title>AKAGI Rails</blog_title>
  <blog_url>https://akagi.hateblo.jp/</blog_url>
  <categories>
    <anon>Python</anon>
  </categories>
  <description>Pythonらしいデータ構造といえばdict（辞書型）です。 dict型の基本 dict型の操作 （本稿はPython3系を前提とします。） dict型の基本 dict型は、「キー」から「要素」にアクセスできるのが特徴です。 Object list, tuple インデクス（i番目）から要素にアクセスできる dict キーから要素にアクセスできる dict型は波カッコ{}で括り、{キー:要素,...}のように書きます。キーから値を参照したいときは、リストと似た感じで変数名[キー]でアクセスします。 キーは文字列ないし整数がいいと思います。floatでもプログラムは走りますが数値計算の問題がある…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fakagi.hateblo.jp%2Fentry%2Fpython3-superbasicdict&quot; title=&quot;Pythonの「dict（辞書）型」虎の巻 - AKAGI Rails&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></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2025-05-18 16:07:38</published>
  <title>Pythonの「dict（辞書）型」虎の巻</title>
  <type>rich</type>
  <url>https://akagi.hateblo.jp/entry/python3-superbasicdict</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
