python bool值取反

a = Ture

b = bool(1-a)

输出结果:False

 

posted on 2020-10-28 13:13  旭彬  阅读(1959)  评论(0)    收藏  举报