bool 类型
用 bool 类型的变量来表示逻辑的真(True)/假(False)。
在线运行演示代码
参考教程
a = 1 < 3 print(a) b = 1 c = 3 print(b > c) print(3.1 > c)