布尔值 布尔值bool bool 布尔 --用于条件使用 True 真 False 假 非0都是True print(bool(-10)) True 非空的时候是Ture print(" ") True 转换成数字 print(int(True)) 1