📌  相关文章
📜  Python程序检查一个数字是偶数还是奇数 - Python代码示例

📅  最后修改于: 2022-03-11 14:46:49.109000             🧑  作者: Mango

代码示例3
a = int(input("Enter the number to find odd or even "))
if (a % 2) == 0:
print("{0} is Even".format(a))
else:
print("{0} is Odd".format(a))