<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>hiroto1979</author_name>
  <author_url>https://blog.hatena.ne.jp/hiroto1979/</author_url>
  <blog_title>どこかに向かうらしい話</blog_title>
  <blog_url>https://hiroto1979.hatenablog.jp/</blog_url>
  <categories>
    <anon>Python3</anon>
  </categories>
  <description>はじめに map()/filter()の使いどころがよくわからないので、自分なりに調査をしてみた。 この2つの関数は、Python2系とPython3系では挙動が異なるので、まずはその話から。 まずは、具体的に実行内容を見てみたい。 python2系での実行結果 &gt;&gt;&gt; print(range(10)) [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] &gt;&gt;&gt; print(map(lambda x: x*2, range(10))) [0, 2, 4, 6, 8, 10, 12, 14, 16, 18] &gt;&gt;&gt; print(filter(lambda x: x % 2, range…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhiroto1979.hatenablog.jp%2Fentry%2F2016%2F02%2F24%2F020534&quot; title=&quot;Python3におけるmap/filterの使い方 - どこかに向かうらしい話&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-02-24 02:05:34</published>
  <title>Python3におけるmap/filterの使い方</title>
  <type>rich</type>
  <url>https://hiroto1979.hatenablog.jp/entry/2016/02/24/020534</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
