<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Sets on Script Everything</title>
    <link>https://scripteverything.com/tags/sets/</link>
    <description>Recent content in Sets on Script Everything</description>
    <generator>Hugo -- 0.146.0</generator>
    <language>en-au</language>
    <lastBuildDate>Wed, 17 Aug 2022 07:10:42 +0000</lastBuildDate>
    <atom:link href="https://scripteverything.com/tags/sets/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>How To Find The Difference Between Two Or More Sets In Python</title>
      <link>https://scripteverything.com/set-difference-python/</link>
      <pubDate>Wed, 17 Aug 2022 07:10:42 +0000</pubDate>
      <guid>https://scripteverything.com/set-difference-python/</guid>
      <description>&lt;p&gt;How can you find the difference between two sets in Python?&lt;/p&gt;
&lt;p&gt;In Python, you can find the difference between two sets using the &lt;code&gt;.difference()&lt;/code&gt; method. The &lt;code&gt;set&lt;/code&gt; and &lt;code&gt;frozenset&lt;/code&gt; objects contain a built-in method labelled &lt;code&gt;difference()&lt;/code&gt; which helps to find the non-matching elements in the source object not found in the other sets passed in to the &lt;code&gt;.difference(*others)&lt;/code&gt; parameter.&lt;/p&gt;
&lt;p&gt;Here is an example demonstrating how to find the difference between two sets using the Python REPL:&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
