<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>inarizuuuushi</author_name>
  <author_url>https://blog.hatena.ne.jp/inarizuuuushi/</author_url>
  <blog_title>Sabrou-mal サブロウ丸</blog_title>
  <blog_url>https://inarizuuuushi.hatenablog.com/</blog_url>
  <categories>
    <anon> python </anon>
  </categories>
  <description>pythonのlist操作に関する豆達です。 enumerate: index付きforループ a = ['I', 'like', 'cats'] for i, word in enumerate(a): print(i, word) &gt; 0 I &gt; 1 like &gt; 2 cats index: listにおける指定した要素のindexを取得 a = [1, 2, 3] a.index(2) &gt; 1 #要素が複数ある場合は最もindexが小さいものを出力 remove: listの中の指定した要素を取り除く a = [1, 1, 2, 3] a.remove(1) a &gt; [1, 2, 3] …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Finarizuuuushi.hatenablog.com%2Fentry%2F2016%2F12%2F04%2F001358&quot; title=&quot; Python コーディング(豆) list編 - Sabrou-mal サブロウ丸&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>2016-12-04 00:13:58</published>
  <title> Python コーディング(豆) list編</title>
  <type>rich</type>
  <url>https://inarizuuuushi.hatenablog.com/entry/2016/12/04/001358</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
