title: Python if Statement Invalid Syntax!? Why?
body: <pre><code>while x &lt; len(Hand):
      while y &lt; len(Hand):
          if Hand[x][0] == Hand[y][0] and y != x:
                  sameRank += 1
          y += 1
      x += 1
  </code></pre>
  
  <p>It highlights a space right before the "if" and says syntax error...Makes no sense.</p>