title: How to exit a while cicle when user input a specific string, in JES, python 2.7
body: <p>in python, i want to  exit a while cicle, when, during the cicle, i'll input a specific string.</p>
  
  <pre><code>`while list!=[] or reply!="yes": 
   # @param list: list; list which contains strings of questions
       time.sleep(0.9)
       question=random.choice(list)
       print question
       print " "
       time.sleep(0.5)
       reply=raw_input("reply please: ")
       list.remove(question)
  </code></pre>
  
  <p>The problem it's: also if i reply "yes" to answer the while cicle continues, and print me the next question. Where is the problem?</p>