n=int(input(“输入一个数”))
m=int(input(“输入一个数”))
if n % 2 == 0:
print(“yes”)
else:
print(“no”)
if m % 2 == 0:
print(“yes”)
else:
print(“no”)
判断奇偶数
最新推荐文章于 2024-03-19 23:05:51 发布
n=int(input(“输入一个数”))
m=int(input(“输入一个数”))
if n % 2 == 0:
print(“yes”)
else:
print(“no”)
if m % 2 == 0:
print(“yes”)
else:
print(“no”)