title: Priority of operators: > and ==
body: <p>I'm trying to guess which operator has priority: <code>&gt;</code> (greater than) or <code>==</code> (equal). This is my experiment:</p>
  
  <pre><code>&gt;&gt;&gt; 5 &gt; 4 == 1
  False
  </code></pre>
  
  <p>As far as I know, this has two possible solutions.</p>
  
  <pre><code>&gt;&gt;&gt; (5 &gt; 4) == 1
  True
  &gt;&gt;&gt; 5 &gt; (4 == 1)
  True
  </code></pre>
  
  <p>Neither one returns <code>False</code>, so how is the first code resolved by Python?</p>