<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>morchin</author_name>
  <author_url>https://blog.hatena.ne.jp/morchin/</author_url>
  <blog_title>プログラミング日記</blog_title>
  <blog_url>https://morchin.hatenadiary.org/</blog_url>
  <categories>
    <anon>どう書く?</anon>
  </categories>
  <description>どう書く?org: 与えられた条件を満たす候補 (http://ja.doukaku.org/43/) Pythonでは演算子の優先順位が高い方から順に not x and y x or y のようになっているらしい。つまり、以下の式は True or False and False True or (False and False)と評価される。どう書く?orgの「与えられた条件を満たす候補」問題では、 not x and y, x or y のような優先順位で左結合になっている。文字列をeval()を使って答えが違ったので一瞬、頭がハテナになったが、Pythonでorの方がandより優先順…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmorchin.hatenadiary.org%2Fentry%2F20070813%2Fp1&quot; title=&quot; 与えた条件を満たす候補 - プログラミング日記&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>2007-08-13 00:00:00</published>
  <title> 与えた条件を満たす候補</title>
  <type>rich</type>
  <url>https://morchin.hatenadiary.org/entry/20070813/p1</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
