e041: P52 決策運算子_01_關係運算子
Tags : Python
Accepted rate : 0人/0人 (0%) [非即時]
評分方式:
Tolerant

最近更新 : 2024-12-27 13:38

Content

關係運算子又稱為比較(Comparison)運算子,用於資料之間的大小比較,比較的結果可得到True或False

x = 3
y = 4
print(x == y)
print(x != y) 
print(x < y)

Input
Output
Sample Input #1


											
										
Sample Output #1
False
True
True
測資資訊:
記憶體限制: 64 MB
公開 測資點#0 (100%): 1.0s , <1K
Hint :
Tags:
Python
出處:
[管理者: zero(育達管理員) ]


ID User Problem Subject Hit Post Date
沒有發現任何「解題報告」