我如何得到它,这样我可以在例如循环在Python 3
start = input(("Would you like to start? "))
while start == "yes" or "YES" or "Yes":
然后while循环的工作“或”以后我的代码
start = input(("Would you like to start again? "))
if start == "no" or "No" or "NO":
break
当我试试这个代码它不起作用。无论我输入什么,它都会在开始时启动代码并在结束时中断。谁能帮忙?
start.lower()in('y','yes') – sshashank124