<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ray88</author_name>
  <author_url>https://blog.hatena.ne.jp/ray88/</author_url>
  <blog_title>ray88’s diary</blog_title>
  <blog_url>https://ray88.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>python 目次 - ray88’s diary ■aセットとｂセットの共通要素（積集合） ・積集合の演算には &amp; 演算子 または Intersection( ) を使用する ・a,bのセットの積集合を求めると２つのセットで共通している要素のセットが作られる。 ■サンプルコード 【積集合：a,bセットの共通した要素のセットｃをつくる】 a = {&quot;リンゴ&quot;,&quot;みかん&quot;,&quot;桃&quot;,&quot;いちご&quot;} b = {&quot;いちご&quot;,&quot;スイカ&quot;,&quot;みかん&quot;,&quot;バナナ&quot;} c = a &amp; b #積集合を求める print(&quot;c：&quot;,c) 【セットa,b,c の積集合を &amp; 演算子を使って求める】 a = {&quot;リンゴ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fray88.hatenablog.com%2Fentry%2F2023%2F12%2F07%2F215727&quot; title=&quot;Python セットの集合演算　積集合（aセット と ｂセット の 共通要素） - ray88’s diary&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/r/ray88/20231207/20231207215510.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2023-12-07 21:57:27</published>
  <title>Python セットの集合演算　積集合（aセット と ｂセット の 共通要素）</title>
  <type>rich</type>
  <url>https://ray88.hatenablog.com/entry/2023/12/07/215727</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
