<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>minamikawa1981</author_name>
  <author_url>https://blog.hatena.ne.jp/minamikawa1981/</author_url>
  <blog_title>minamikawa1981の日記</blog_title>
  <blog_url>https://minamikawa1981.hatenadiary.org/</blog_url>
  <categories>
    <anon>Python</anon>
  </categories>
  <description>1.6 文字列の連結 &quot;文字列&quot;+&quot;文字列&quot;は絶対使わない。 &quot;&quot;.join()を使う。 リストの中に入った文字列をすべて連結して、長い1つの文字列を作ろうとする場合、+を使うべきではない。 なぜならば、文字列は変更できない型であるので、list｢1｣+list[2]=list[1]'となり、list[1]'のような計算途中の値が大量にできてしまう。このため計算時間が長くかかる。join()は計算途中の値は作らない。 alpha = [&quot;a&quot;,&quot;b&quot;,&quot;c&quot;,&quot;d&quot;] &gt;&gt;&gt; alpha ['a', 'b', 'c', 'd'] &quot;&quot;.join(alpha) 'abcd'joinの最初につく&quot;…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fminamikawa1981.hatenadiary.org%2Fentry%2F20081219%2F1229691483&quot; title=&quot;Python 21日目 - minamikawa1981の日記&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>2008-12-19 21:58:03</published>
  <title>Python 21日目</title>
  <type>rich</type>
  <url>https://minamikawa1981.hatenadiary.org/entry/20081219/1229691483</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
