📅  最后修改于: 2022-03-11 14:46:19.925000             🧑  作者: Mango
代码示例1
a = int(input("Enter the number: "))
if (a % 2) == 0:
print("{0} is even".format(a))
else:
print(" {0} is odd ".format(a))