not

x = []

print(x)
print(not x)

print(x is None)
print(not x is None)
print(x is not None)
原文地址:https://www.cnblogs.com/jzm17173/p/5824840.html