title: Is there a difference between != and <> operators in Python?
body: <p>I tried searching but could not find much about the <code>&lt;&gt;</code> operator.</p>
  
  <p><a href="https://www.tutorialspoint.com/python/python_basic_operators.htm">https://www.tutorialspoint.com/python/python_basic_operators.htm</a> mentions that <code>&lt;&gt;</code> is "similar" to the <code>!=</code> operator and does not say what is different or how it is different.</p>
  
  <p>My tests seem to show it is the same:</p>
  
  <pre><code>a = 2, b = 3
  &gt;&gt;&gt; a != b
  True
  &gt;&gt;&gt; a &lt;&gt; b
  True
  &gt;&gt;&gt; b = 2
  &gt;&gt;&gt; a != b
  False
  &gt;&gt;&gt; a &lt;&gt; b
  False
  </code></pre>
  
  <p>Any help to understand this would be appreciated.</p>