<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>masasuz</author_name>
  <author_url>https://blog.hatena.ne.jp/masasuz/</author_url>
  <blog_title>目の前に僕らの道がある</blog_title>
  <blog_url>https://masasuzu.hatenablog.jp/</blog_url>
  <categories>
    <anon>python</anon>
  </categories>
  <description>Python自分メモです。list.append()は単純にlistの末尾に要素を追加する。 list.extend()はlistの末尾に展開した要素をそれぞれ追加する。ただし、入れ子になっているlistは展開しないっぽい。 Python 対話モードでの結果 &gt;&gt;&gt; list_a = list() &gt;&gt;&gt; list_a [] &gt;&gt;&gt; list_a.append(1) # listの末尾にintを追加 &gt;&gt;&gt; list_a [1] &gt;&gt;&gt; list_a.append([2,3,4]) # listの末尾にlistを追加 &gt;&gt;&gt; list_a [1, [2, 3, 4]] &gt;&gt;&gt; list_a.e…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmasasuzu.hatenablog.jp%2Fentry%2F20100403%2F1270262298&quot; title=&quot;list.append()とlist.extend() - 目の前に僕らの道がある&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>2010-04-03 11:38:18</published>
  <title>list.append()とlist.extend()</title>
  <type>rich</type>
  <url>https://masasuzu.hatenablog.jp/entry/20100403/1270262298</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
