python bool值取反

a = Ture

b = bool(1-a)

输出结果:False

原文地址:https://www.cnblogs.com/MXubin/p/13890479.html