title: If statement SyntaxError: invalid syntax?
body: <p>I am trying to run a simple program but I can't seem to get over this syntax error.</p>
  
  <pre><code>try:
      grade = float(raw_input("Enter a score between 0.0 and 1.0:\n"))
      if grade &lt; 0 or grade &gt; 1
          print ("That is not between 0.0 or 1.0")
      elif grade &gt;= .9
          print ("A")
      elif grade &gt;= .8 and grade &lt; .9
          print ("B")
      elif grade &gt;= .7 and grade &lt; .8
          print ("C")
      elif grade &gt;= .6 and grade &lt; .7
          print ("D")
      else grade &lt; .6
          print ("F")
  
  except:
      print ("Enter a numeric value!")
  </code></pre>
  
  <p>The error I get is line 3, if grade &lt; 0 or grade > 1: SyntaxError: invalid syntax.</p>