编辑器
# The ^ operator compares each bit and set it to 1 if only one is 1, otherwise it is set to 0 # 6 = 0110 # 3 = 0011 # -------- # 5 = 0101 print(6 ^ 3)
5