title: Python while loop is not functioning correctly (beginner)
body: <p>I'm still quite new to Python and am confused as to what's happening with a program I'm working on.  The code is below.  The problem is the code is never running any of the if/elif/else lines.  It just keeps cycling the menu and inputs.  I'm using 3.2.</p>
  
  <pre><code># Program to Add, Subtract, Multiply, and Divide
  
  def printmenu():
      print("Calculator v0.01")
      print("[A]dd Two Numbers")
      print("[S]ubtract Two Numbers")
      print("[M]ultiply Two Numbers")
      print("[D]ivide Two Numbers")
      print("[Q]uit the Program")
  
  choice = "x"
  
  while choice.lower != "q":
      printmenu()
      choice = input("What would you like to do? ")
      firstnum = input("What is the first number? ")
      secnum = input("What is the second number? ")
      if choice.lower == "a":
          print("The answer is ",  (firstnum + secnum))
      elif choice.lower == "s":
          print("The answer is ",  (firstnum - secnum))
      elif choice.lower == "m":
          print("The answer is ",  (firstnum * secnum))
      elif choice.lower == "d":
          print("The answer is ",  (firstnum / secnum))
      else:
          print("Choice not recognized.  Try again!")
  </code></pre>
  
  <p>P.S. - This is my first post on here, so if I'm not doing something properly then please let me know.</p>
  
  <p>Thanks!</p>
  
  <p>JT</p>