title: Looking for help designing a While loop in Python
body: <p>Im designing an RPG for a class project, working on a gimmicky idea of an item that can be configured to give certain bonuses to existing classes. </p>
  
  <p>But for some reason getting the <code>While</code> loop to loop properly and not repeat the <code>print("invalid choice")</code> for eons AND getting the function itself to work, are beyond me. </p>
  
  <p><em>Any help is appreciated!!</em></p>
  
  <pre><code>#PowerTreadFunction
  def askPowerTread():
      choice = none
      while choice not in ['A','B','C']:
          print("Invalid choice.")
      choice = input("""Your Power Treads offer the following configurations which each                give distinct bonuses, choose now:\n    
   a) DAMAGE\nb) DEFENSE\nc) ARMOR CLASS\n""")
  
  
      if choice == 'A':
          printSlow("Configuring Power Treads for Damage, you now recieve a +5 damage bonus")
          player[DAM] += 5
  
      elif choice == 'B':
           printSlow("Configuring Power Treads for Defense, you now recieve a +5 defense bonus")
           player[DEF] +=5
  
      elif choice == 'C':
           printSlow("Configuring Power Treads for Armor Class, you now recieve a +5 armor class bonus")
           player[AC] +=5
  </code></pre>