title: Get a colon missing error after a else, but the colon is there
body: <p>I'm using pycharm as IDE.</p>
  
  <p>I'm getting a error that says there is a missing colon on a else staement.  But thee is a colon</p>
  
  <p>code</p>
  
  <pre><code>def Start():
      glo.setUp();
      stat=1
  
      while state&gt;0:
          if state==glo.STATE_PRE_START_BUY:
              sys.start()
  
              sys.end()
  </code></pre>
  
  <p>The error is on the line below</p>
  
  <pre><code>    else state==glo.STATE_BUY_CYCLE:  
          sys,end()
  </code></pre>