<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>TAKEmaru</author_name>
  <author_url>https://blog.hatena.ne.jp/TAKEmaru/</author_url>
  <blog_title>冬のソフトウェア海岸</blog_title>
  <blog_url>https://tkmr.hatenablog.com/</blog_url>
  <categories>
    <anon>Python</anon>
  </categories>
  <description>_(アンダーバー)から始まる変数はPythonでは不可視を意味し、意識しなくて良い(使われない)という意図を伝えるために使われる。関数とかクラスの頭に_を書いておくとhelp()を実行した際にスルーしてもらえる。のx, y = y, x項より引用。 def fib(n): x, y = 0, 1 for _ in xrange(n): x, y = y, x+y return x Python で使わないタプルの値は &quot;_&quot; (アンダーバー) に代入するというプラクティス | CUBE SUGAR STORAGEより引用。 def get_tuple(): return ('amedama',…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftkmr.hatenablog.com%2Fentry%2F2013%2F12%2F16%2F114322&quot; title=&quot;Pythonにおける_(アンダーバー) - 冬のソフトウェア海岸&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>2013-12-16 11:43:22</published>
  <title>Pythonにおける_(アンダーバー)</title>
  <type>rich</type>
  <url>https://tkmr.hatenablog.com/entry/2013/12/16/114322</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
