<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>XaroCydeykn</author_name>
  <author_url>https://blog.hatena.ne.jp/XaroCydeykn/</author_url>
  <blog_title>何かを書き留める何か</blog_title>
  <blog_url>https://xaro.hatenablog.jp/</blog_url>
  <categories>
    <anon>Python</anon>
    <anon>Python Puzzler</anon>
  </categories>
  <description>Puzzle 2: __iter__ VS. __getitem__ イテラブルオブジェクトとは__iter__()または__getitem__()が定義されたクラスのことである。 次のプログラムでは半角英大文字をたどるイテレータを提供するイテラブルオブジェクトのクラスが定義されている。 以下を実行するとどのような出力が返されるか。 import string class UpperCase(object): def __init__(self, first=None): self.index = -1 if first is None else string.ascii_uppercase.…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fxaro.hatenablog.jp%2Fentry%2F2016%2F02%2F17%2F231526&quot; title=&quot;Python Puzzler 「Puzzle 2: __iter__ VS. __getitem__」 - 何かを書き留める何か&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-17 23:15:26</published>
  <title>Python Puzzler 「Puzzle 2: __iter__ VS. __getitem__」</title>
  <type>rich</type>
  <url>https://xaro.hatenablog.jp/entry/2016/02/17/231526</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
