Skip to content
本站總訪問量
本站訪客數 人次

TQC+ 程式語言Python 201 偶數判斷

題目說明:請使用選擇敘述撰寫一程式,讓使用者輸入一個正整數,然後判斷它是否為偶數(even)。

範例輸入1

shell
56

範例輸出1

shell
56 is an even number.

範例輸入2

shell
21

範例輸出2

shell
21 is not an even number.

Contributors

The avatar of contributor named as lucashsu95 lucashsu95

Changelog