title: Range for numbers 1 to 3
body: <p>I'm trying to complete a school project where I create a maths quiz that randomly generates questions. You have to login with a name and classroom your in.
  All my code works apart from the section of code where I am trying to use a range for my class (Between class 1 and 3). It keeps popping up with an error saying: </p>
  
  <blockquote>
    <p>TypeError: '&lt;=' not supported between instances of 'int' and 'str'</p>
  </blockquote>
  
  <pre><code>while True:
    classCode=input("What class are you in? 1, 2, or 3? ")
    if 1 &lt;= classCode &lt;= 3:
      break
    else:
      print("That isn't a class. Please try again.")
      continue
  </code></pre>
  
  <p>Anyone know whats wrong with this code?
  This is my first question so if it's not in the right format I apologize.</p>