# 布尔值 bool boolen 只有两个值 True False 首字母必须大写
a = True b = False c = a and b d = a or b print(bool(c)) print(bool(d))
运行结果:
False
True

# 布尔值 bool boolen 只有两个值 True False 首字母必须大写
a = True b = False c = a and b d = a or b print(bool(c)) print(bool(d))
运行结果:
False
True