else: print(“請繼續努力”) #else後面要加: #槽狀IF. Python判斷式介紹(if, else, elif,巢狀if),. print(“恭喜您達到理想體重”) if weight <= Health else ...
確定! 回上一頁