#-*- coding: utf-8 -*-
#使用 utf-8 編碼
#-*- coding: cp950 -*-
#使用 Big5 編碼(windows 下使用)
a = raw_input("Please enter one number between 0 and 9: ")
print "the number is", a
if (int(a) % 2) == 0 :
print a, " 是偶數"
else :
print a, "是奇數"
Please enter one number between 0 and 9: 6
the number is 6
6 是偶數