📜  pyhton 中布尔值的否定 - Python 代码示例

📅  最后修改于: 2022-03-11 14:45:08.951000             🧑  作者: Mango

代码示例2
# The negation of a boolean is the opposite of its current value
x = True
print (x) # output True
x = not x
print (x) # output # False