📅  最后修改于: 2022-03-11 14:46:12.687000             🧑  作者: Mango
代码示例6
injd = int(input('Enter a number'))
n = injd % 2
if n > 0:
print('This is an odd number')
else:
print('This is an even number')