我如何得到它,這樣我可以在例如循環在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