e039: P51 決策運算 if..else 01
Tags : Python
Accepted rate : 0人/0人 (0%) [非即時]
評分方式:
Tolerant

最近更新 : 2024-12-26 15:47

Content

人類的生活必須不斷地面對決策問題,程式語言是協助解決人類問題的工具,當然也有決策指令。

請先鍵入以下程式,並觀察執行結果。

a=66
if a>=60:
    b="Pass"
else:
    b="Fail"
print(b)

Input
Output
Sample Input #1


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


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