📅  最后修改于: 2022-03-11 14:45:04.964000             🧑  作者: 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')