a = None
b = "S"
print(a is None) # >True
print(b is None) # >False
print(a is None and b is None) # >False
print(a & b) # >TypeError: unsupported operand type(s) for &: 'NoneType' and 'stry
數值EX
a = 7
b = 3
print(a is None) # >False
print(b is None) # >False
print(a is None and b is None) # >False
print(a & b) # >3
print(a is None & b is None)
# >TypeError: unsupported operand type(s) for &: 'NoneType' and 'int' =>「X is None」的回傳是個NoneType的物件