<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>yosshi71jp</author_name>
  <author_url>https://blog.hatena.ne.jp/yosshi71jp/</author_url>
  <blog_title>シコウサクゴ（）</blog_title>
  <blog_url>https://yosshi71jp.hatenadiary.org/</blog_url>
  <categories>
    <anon>python</anon>
  </categories>
  <description>大したことじゃないですが。辞書型やリスト型は、定義してから使うことがよくあります。 ListA = [] ListB = list(); DictA = {} DictB = dict(); 沢山の変数を定義する時は、一列に並べて書いた方が省スペースです。 A=[]; B=[]; C=[]; # すべてリスト型 ただ、次のような定義は間違いの始まりです。 A = B = C = []; # 全部イコールでつなげちゃう ご存知の通り、参照渡しによってA,B,Cは実質同じ領域を参照していますので、これだとA,B,Cいずれかに要素を追加すると、A,B,Cすべてに反映されてしまうので注意です。（Aを数…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyosshi71jp.hatenadiary.org%2Fentry%2F20091222%2F1261502701&quot; title=&quot;pythonの辞書型やリスト型の定義の仕方 - シコウサクゴ（）&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>2009-12-22 02:25:01</published>
  <title>pythonの辞書型やリスト型の定義の仕方</title>
  <type>rich</type>
  <url>https://yosshi71jp.hatenadiary.org/entry/20091222/1261502701</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
