逻辑运算采取的是短路原则,前面是False就直接后面的不执行
0 代表 False,1 代表 True你的 x == y and a. remove(1)意思就是如果 x等于y那么a就remove去除掉1