title: Comparing two sets in python
body: <p>I have a doubt regarding comparing two sets:</p>
  <pre><code>    &gt;&gt;&gt; x = {&quot;a&quot;,&quot;b&quot;,&quot;1&quot;,&quot;2&quot;,&quot;3&quot;}  
      &gt;&gt;&gt; y = {&quot;c&quot;,&quot;d&quot;,&quot;f&quot;,&quot;2&quot;,&quot;3&quot;,&quot;4&quot;}  
      &gt;&gt;&gt; z=x&lt;y        
      &gt;&gt;&gt; print(z)
      False
      &gt;&gt;&gt; z=x&gt;y
      &gt;&gt;&gt; print(z)
      False
       
  </code></pre>
  <p>In the above logic, for both <code>z=x&lt;y and z=x&gt;y</code>. I am getting output as False, whereas one of the expression should return True. Could anyone explain me why?</p>