🎯 任務:完成奇偶數判斷程式
請在黑色的程式碼方塊中,填入正確的
運算子
來判斷偶數:
num = int(input("請輸入數字: "))
if num
2
0:
print(f"{num} 是偶數")
else:
print(f"{num} 是奇數")
驗證答案
💾 下載我的 .py 檔案