<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>rare_Remrin</author_name>
  <author_url>https://blog.hatena.ne.jp/rare_Remrin/</author_url>
  <blog_title>Remrinのpython攻略日記</blog_title>
  <blog_url>https://python-remrin.hatenadiary.jp/</blog_url>
  <categories>
    <anon>python</anon>
  </categories>
  <description>真偽値boolや条件などについて。 真偽値bool ・True, Falseの2つの値のみ。 ・True,=1, False=0で変更できない。(python2では変更できた) True = 0 # SyntaxError: can't assign to keyword False 数値のゼロ、空文字列、空配列、False True 他すべて ・必要になったら、True=1, False=0の数値として扱われる。 print(True) # True print(True + True + 1) # 3 ・条件分岐や繰り返しに使える。 x = 5 if x &gt; 0: print(x &gt; 0)…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fpython-remrin.hatenadiary.jp%2Fentry%2F2017%2F05%2F12%2F112808&quot; title=&quot;boolと条件 - Remrinの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>2017-05-12 11:28:08</published>
  <title>boolと条件</title>
  <type>rich</type>
  <url>https://python-remrin.hatenadiary.jp/entry/2017/05/12/112808</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
