<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>hanabusa-snow</author_name>
  <author_url>https://blog.hatena.ne.jp/hanabusa-snow/</author_url>
  <blog_title>プログラ生活</blog_title>
  <blog_url>https://www.pon-x.jp/</blog_url>
  <categories>
    <anon>Python</anon>
    <anon>プログラミング</anon>
  </categories>
  <description>www.pon-x.jp 前回からリストを紹介していますが、今回もリストです。 今回は、リストの要素を変更してみたいと思います。 リストの要素の変更 リストの要素を変更するときは、インデックス番号で指定して、変更したい値を代入するだけです。 n = [&quot;あ&quot;, &quot;い&quot;, &quot;う&quot;, &quot;え&quot;, &quot;お&quot;] n[4]=&quot;か&quot; n こんなかんじに、「え」が「か」にかわります。 要素の追加 今度は、リストの末尾に要素を追加してみます。 n = [&quot;あ&quot;, &quot;い&quot;, &quot;う&quot;, &quot;え&quot;, &quot;お&quot;] n.append(&quot;か&quot;) n こんなかんじに、末尾に「か」が追加されました。 要素を間に挿入 appendは末…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.pon-x.jp%2Fentry%2F2021%2F05%2F19%2F084547&quot; title=&quot;【Python連載】リストの変更 -010- - プログラ生活&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>https://cdn-ak.f.st-hatena.com/images/fotolife/h/hanabusa-snow/20210519/20210519083355.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2021-05-19 08:45:47</published>
  <title>【Python連載】リストの変更 -010-</title>
  <type>rich</type>
  <url>https://www.pon-x.jp/entry/2021/05/19/084547</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
