title: Why is a space counted as a syntax error?
body: <p>I am using Python 3.1 IDLE and have found that the space (which I will mark out as such - _) is being highlighted by IDLE as a syntax error.  I would like to know if anyone knows what the problem is and offer a solution.  I know it looks wrong, but the underscore is just there to highlight where IDLE says the problem is.  I can't work out what the issue with that line and the next line is.</p>
  
  <pre><code>    def attrSelection():
          while attrChoice!=6
              if attrChoice==1:
                  attrChoice=Power
                  baseAttr=int(basePow)
                  attrEditor()
       _      elif attrChoice==2:
                  attrChoice=Health
                  baseAttr=int(baseHlth)
                  attrEditor()
              elif attrChoice==3
                  attrChoice=Wisdom
                  baseAttr=int(baseWis)
                  attrEditor()
              elif attrChoice==4:
                  attrChoice=Dexterity
                  baseAttr=int(baseDex)
                  attrEditor()
              elif attrChoice==5:
                  assignRandom()
              else:
                  print('Option does not exist.  Please enter option in range 1-6.')
                  attrChoice=input('Choice: ')
  </code></pre>