<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>tachikawa844</author_name>
  <author_url>https://blog.hatena.ne.jp/tachikawa844/</author_url>
  <blog_title>tachikawa844の日記</blog_title>
  <blog_url>https://tachikawa844.hatenadiary.org/</blog_url>
  <categories>
    <anon>python</anon>
    <anon>perlテキストでpython学習中</anon>
  </categories>
  <description>リストや配列の各要素に対して何らかの操作を行い、その結果を 新たなリストで得たいときにはmap関数が便利らしい。 perlのmap関数は map { 各要素をつくる式 ｝リスト というように使うらしい。 例えば1〜９までの整数を要素として持つリストから 各整数を２乗した整数を要素として持つ新しいリストをつくるには、 my @square = map { $_ ** 2 } (1..9); とするみたい。 pythonのmap関数は map(関数, リスト） として関数をリストのすべての要素に適用したものを リストで返すようなので、 各整数を２乗した整数を要素として持つ新しいリストをつくるには、…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftachikawa844.hatenadiary.org%2Fentry%2F20081205%2F1228454738&quot; title=&quot;mapによる繰り返し - tachikawa844の日記&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-12-05 14:25:38</published>
  <title>mapによる繰り返し</title>
  <type>rich</type>
  <url>https://tachikawa844.hatenadiary.org/entry/20081205/1228454738</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
