在python中,我想退出一段时间的cicle,在cicle期间,我将输入一个特定的字符串。
`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)
问题是:如果我回答“是”以回答 while cicle 继续,并打印下一个问题。哪里有问题?