title: Python Choice Not In List
body: <pre><code>while True:
  
  print "Please choose from one of the five following options:"
  
  print " 1. 10^1\n 2. 10^2\n 3. 10^3\n 4. 10^4\n 5. 10^5\n"
      choice = raw_input()
  
      if choice == 1:
          print "1"
      elif choice == 2:
          print "2"
      elif choice == 3:
          print "3"
      elif choice == 4:
          print "4"
      elif choice == 5:
          print "5"
  
      while choice not in [1,2,3,4,5]:
          print "Not a valid choice!\n"
          break
  </code></pre>
  
  <p>What syntax should I be using? I keep getting not a valid choice. Its like Python is placing every choice even 1,2,3,4,5 in the list of points outside of that list.</p>