<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>methane</author_name>
  <author_url>https://blog.hatena.ne.jp/methane/</author_url>
  <blog_title>methaneのブログ</blog_title>
  <blog_url>https://methane.hatenablog.jp/</blog_url>
  <categories>
  </categories>
  <description>http://d.hatena.ne.jp/yaneurao/20060506#p1 結局、どの言語でも、最初に値型と参照型の区別を覚えないといけないんだな。そして気をつけて使うと。 2チャンネルのPythonスレでも、空要素10個のリストをどう作るか？という話題があって、以下の2つの方法が比べられていた。 &gt;&gt;&gt; n = [[]] * 10 &gt;&gt;&gt; m = [ [] for i in range(10) ] &gt;&gt;&gt; &gt;&gt;&gt; print n [[], [], [], [], [], [], [], [], [], []] &gt;&gt;&gt; print m [[], [], [], [], [], [],…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmethane.hatenablog.jp%2Fentry%2F20060504%2F1146761957&quot; title=&quot; 値型と参照型 - methaneのブログ&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>2006-05-04 01:59:17</published>
  <title> 値型と参照型</title>
  <type>rich</type>
  <url>https://methane.hatenablog.jp/entry/20060504/1146761957</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
