<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>tedd707</author_name>
  <author_url>https://blog.hatena.ne.jp/tedd707/</author_url>
  <blog_title>ITエンジニアが仕事に対して思うこと</blog_title>
  <blog_url>https://pythonjp.ikitai.net/</blog_url>
  <categories>
  </categories>
  <description>## Pythonで文字列を比較する方法（完全一致、部分一致、大小関係など） Pythonでは、文字列の比較を行うための様々な方法が提供されています。例えば、2つの文字列が全く同じかどうか（完全一致）、一部が一致しているか（部分一致）、あるいは辞書順での大小関係の比較など、文字列を扱う多くのシチュエーションに対応しています。 この記事では、Pythonでの文字列の比較方法について、具体的なサンプルコードを交えながら詳しく解説していきます。 1. 完全一致の比較 まず最も基本的な文字列比較の方法として、完全一致の比較があります。これは2つの文字列が全く同じであるかどうかを確認する方法です。 完全…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fpythonjp.ikitai.net%2Fentry%2F2024%2F09%2F29%2F025916&quot; title=&quot;Pythonで文字列を比較する方法（完全一致、部分一致、大小関係など） - ITエンジニアが仕事に対して思うこと&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>2024-09-29 02:59:16</published>
  <title>Pythonで文字列を比較する方法（完全一致、部分一致、大小関係など）</title>
  <type>rich</type>
  <url>https://pythonjp.ikitai.net/entry/2024/09/29/025916</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
