<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>hayataka2049</author_name>
  <author_url>https://blog.hatena.ne.jp/hayataka2049/</author_url>
  <blog_title>静かなる名辞</blog_title>
  <blog_url>https://hayataka2049.hatenablog.jp/</blog_url>
  <categories>
    <anon>python</anon>
    <anon>Tips</anon>
    <anon>ネタ・小ネタ</anon>
  </categories>
  <description>概要 対話モードだとアンダースコアの変数が自動的にできています。最後に評価した結果が入るようです。 &gt;&gt;&gt; 1 + 2 3 &gt;&gt;&gt; _ 3 これはチュートリアルに書いてあったのですが、他の入門記事で触れられているのを見た記憶はまったくありません。私自身も、チュートリアルの「Pythonを電卓として使う」はなんとなく読み流していたので気づいていませんでした。 対話モードでは、最後に表示された結果は変数 _ に代入されます。このことを利用すると、Python を電卓として使うときに、計算を連続して行う作業が多少楽になります。 3. 形式ばらない Python の紹介 — Python 3.8.0 …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhayataka2049.hatenablog.jp%2Fentry%2F2019%2F11%2F08%2F193940&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>https://cdn-ak.f.st-hatena.com/images/fotolife/h/hayataka2049/20191108/20191108193649.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2019-11-08 19:39:40</published>
  <title>Python対話的インタプリタでアンダースコアが便利（誰も知らない機能）</title>
  <type>rich</type>
  <url>https://hayataka2049.hatenablog.jp/entry/2019/11/08/193940</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
