title: Finding the Quadrant of a degree with python
body: <pre><code>def quad(degree):
  
      if degree &lt;= '90':
          angle = 'Quadrant 1'
      else:
          if degree &lt;= '180':
              angle = 'Quadrant 2'
          else:
              if degree &lt;= '270':
                  angle = 'Quadrant 3'
              else:
                  if degree &lt;= '360':
                      angle = 'Quadrant 4'
  
      return quad
  
  print (quad ('100'))
  </code></pre>
  
  <p>executing lines 1 to 17 of "angle.py")
  
  Why does it not tell me which quadrant it's in?</p>