關係運算子又稱為比較(Comparison)運算子,用於資料之間的大小比較,比較的結果可得到True或False
x = 3y = 4print(x == y) print(x != y) print(x < y)
False True True