<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>esc_prog_begginer</author_name>
  <author_url>https://blog.hatena.ne.jp/esc_prog_begginer/</author_url>
  <blog_title>脱！プログラミング入門</blog_title>
  <blog_url>https://escprogbegginer.hatenablog.com/</blog_url>
  <categories>
    <anon>python</anon>
  </categories>
  <description>Pythonではプログラムの行数を削減する様々な工夫がなされています．その中の1つにリスト内包表記があります．リスト内包表記とはfor文を使ってリストに任意の複数の値を入れる処理をfor文を使わずに[]で囲った書き方のことを言います．リスト内包表記を使うことでプログラムの行数の削減と処理の高速化が可能となります． Pythonのリスト内包表記 Pythonのリスト内包表記の一例を次に示します． list1 = [] for i in range(10): list1.append(i) # 上のfor文と下のリスト内包表記は同じ処理 list1_comp = [ i for i in rang…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fescprogbegginer.hatenablog.com%2Fentry%2F2019%2F09%2F17%2F200648&quot; title=&quot;Pythonのリスト内包表記を使いこなそう - 脱！プログラミング入門&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>2019-09-17 20:06:48</published>
  <title>Pythonのリスト内包表記を使いこなそう</title>
  <type>rich</type>
  <url>https://escprogbegginer.hatenablog.com/entry/2019/09/17/200648</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
