<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>fgshun</author_name>
  <author_url>https://blog.hatena.ne.jp/fgshun/</author_url>
  <blog_title>銀月の符号</blog_title>
  <blog_url>https://fgshun.hatenablog.com/</blog_url>
  <categories>
    <anon>Python</anon>
  </categories>
  <description>http://d.hatena.ne.jp/mssh/20080308#1204974183 を読んでリスト内包表記に苦戦していた頃を思い出したので。for 文 if 文がたくさん入って１行に書かれたリスト内包表記。ただの for 文、 if 文となにも変わらないことに気づいてからスムーズに読めるようになりました。 for 文 if 文は読めるけどリスト内包表記はちょっと、という人（とかつての自分）のために、リスト内包表記を直す方法書いてみます。例に用いるのは同じく足して 5 になる組み合わせで。ただの for 文 if 文に直すには、まず空リストを用意。最初の for の前を取り払って最後に…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ffgshun.hatenablog.com%2Fentry%2F20080308%2F1204999646&quot; title=&quot;複雑なリスト内包表記の読み方 - 銀月の符号&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-03-08 03:07:26</published>
  <title>複雑なリスト内包表記の読み方</title>
  <type>rich</type>
  <url>https://fgshun.hatenablog.com/entry/20080308/1204999646</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
