我正在尝试创建一个 if 语句来检查无序值的某些组合是否在我的附加列表中。if ("1" and "2" and "3") or ("1" and "4" and "7") in player1_inputs: print("Correct")else: print("Incorrect")无论我在 player1_inputs 中输入哪组数字,我总是得到“正确”。谁能解释为什么会这样?
添加回答
举报
0/150
提交
取消