所以兩個運算結果都是0 。且、或、互斥或的運算,以二進位表示如下. 101 and 011 = 001 101 or 011 = 111 101 xor 011 = 110. 因此3 且5 ,結果會是1 ; 3 或5 ,結果 ...
pydoing.blogspot.com