title: Grading program in python, stuck on if else statements
body: <p>I'm still pretty new to python, and I have to write this program where the user enters homework grades, types 'done' and gets their grades back.  I'm almost done with it, but I keep getting error messages when it gets to the loop: </p>
  
  <p>TypeError: unorderable types: str() > int().</p>
  
  <pre><code>print("Enter the homework scores one at a time. Type 'done' when done")
  hwCount = 1
  totalScore = 0
  strScore = input("Enter the HW#" + str(hwCount) + " score: ")
  while strScore != "done":
      if ( strScore is int and strScore &gt;= 0 and strScore &lt;= 10 ):
          totalScore = totalScore + strScore
          hwCount = hwCount + 1
      elif ( strScore is int and strScore &lt; 0 or strScore &gt; 10):
      print("Please enter a number between 0 and 10")
      else:
          print("Please enter only whole numbers")
      strScore = input("Enter HW#" + str(hwCount) + " score: ")
  </code></pre>
  
  <p>I tried this:</p>
  
  <pre><code>strScore = int(input("Enter the HW#" + str(hwCount) + " score: ")
  </code></pre>
  
  <p>but it would only print the else statement, and then I got the same error as before. If someone could help me figure this out I'd really appreciate it </p>