判断两个bool值要么同时为true,要么同时为fals或者一个是真一个是假的最简方法
a=True b=False print (a==b) >>> False a=True b=True print (a==b) >>> True