<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>shigemk2</author_name>
  <author_url>https://blog.hatena.ne.jp/shigemk2/</author_url>
  <blog_title>by shigemk2</blog_title>
  <blog_url>https://www.shigemk2.com/</blog_url>
  <categories>
    <anon>読書ノート</anon>
  </categories>
  <description>07-190820.py # -*- coding: euc-jp -*-&quot; # リストを操作するコードをループごとにインタプリタ上で処理している # カウンタの操作もループごとにインタプリタ上で処理する必要がある size = 10 L = [] i = 0 while i &lt; size: if i % 2 == 0 and i != 4: L.append(i) i += 1 print L # [0, 2, 6, 8] # そこでリスト内包表記 # コードの可読性が上がり、バグを減らす print [i for i in range(10) if i % 2 == 0 and i != …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.shigemk2.com%2Fentry%2F20130707%2F1373192881&quot; title=&quot;エキスパートPythonプログラミング 内包表記 - by shigemk2&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>2013-07-07 19:28:01</published>
  <title>エキスパートPythonプログラミング 内包表記</title>
  <type>rich</type>
  <url>https://www.shigemk2.com/entry/20130707/1373192881</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
