<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>morchin</author_name>
  <author_url>https://blog.hatena.ne.jp/morchin/</author_url>
  <blog_title>プログラミング日記</blog_title>
  <blog_url>https://morchin.hatenadiary.org/</blog_url>
  <categories>
    <anon>Python</anon>
  </categories>
  <description>zip関数は、リストの横の並びを縦に見てくれる。 a = (1, 2, 3) b = (4, 5, 6) c = (7, 8, 9) print zip(a, b, c) #=&gt; [(1, 4, 7), (2, 5, 8), (3, 6, 9)] a = (0, 1, 2, 3) print zip( a, a[1:]+(a[0],) ) #=&gt; [(0, 1), (1, 2), (2, 3), (3, 0)]これは、１種類もしくは２種類以上の複数のリストの情報をいっぺんに１つずつ取り出したい時に便利である。#まだスライシングを勉強していないので、(1, 2, 3, 0)を作り出す a[1:]…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmorchin.hatenadiary.org%2Fentry%2F20060727%2Fp1&quot; title=&quot; zip関数 - プログラミング日記&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>2006-07-27 00:00:00</published>
  <title> zip関数</title>
  <type>rich</type>
  <url>https://morchin.hatenadiary.org/entry/20060727/p1</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
