<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>fantm21</author_name>
  <author_url>https://blog.hatena.ne.jp/fantm21/</author_url>
  <blog_title>Fumiエンジニアブログ</blog_title>
  <blog_url>https://engineer-fumi.hatenablog.com/</blog_url>
  <categories>
    <anon>ソフトウェア開発</anon>
    <anon>Python</anon>
  </categories>
  <description># はじめに Pythonドキュメント備忘録とは、私がPythonのドキュメントを読んで、ちょっと残しておきたいと思ったものを抜粋して備忘録としてます。 # 「全て真である」と「いずれか真である」のアルゴリズム 組み込み関数のページを読んでて、 all関数とany関数と同等の式が紹介されてます。 def all(iterable): for element in iterable: if not element: return False return True そうか、全て真か調べるには、途中で真ではないのがいないか調べればいいのか。 def any(iterable): for eleme…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fengineer-fumi.hatenablog.com%2Fentry%2F2018%2F03%2F10%2F143200&quot; title=&quot;「全て真である」と「いずれか真である」のアルゴリズム | Pythonドキュメント備忘録 - Fumiエンジニアブログ&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>2018-03-10 14:32:00</published>
  <title>「全て真である」と「いずれか真である」のアルゴリズム | Pythonドキュメント備忘録</title>
  <type>rich</type>
  <url>https://engineer-fumi.hatenablog.com/entry/2018/03/10/143200</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
