<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>NAL-6295</author_name>
  <author_url>https://blog.hatena.ne.jp/NAL-6295/</author_url>
  <blog_title>NAL-6295の舌先三寸</blog_title>
  <blog_url>https://nal-6295.hatenadiary.org/</blog_url>
  <categories>
    <anon>Python</anon>
  </categories>
  <description>Pythonでリファレンスを見ながら初めてコーディングしたためクロージャの実装で悩んだ。最初、C#とかと同じ乗りで def nabeatsu(): value = 1 def reader(): isAho = value % 3 == 0 or str(value).find('3') &gt;= 0 isDog = value % 5 == 0 if isAho: print 'あほ' if isDog: print 'わん!' if not isAho and not isDog: print value value = value + 1 #5/10まで間違ったサンプルになっていたのを修正(…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fnal-6295.hatenadiary.org%2Fentry%2F20080508%2Fp3&quot; title=&quot;Pythonでのクロージャについて（追記あり) - NAL-6295の舌先三寸&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-05-08 00:00:00</published>
  <title>Pythonでのクロージャについて（追記あり)</title>
  <type>rich</type>
  <url>https://nal-6295.hatenadiary.org/entry/20080508/p3</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
