0
点赞
收藏
分享

微信扫一扫

python一行代码判断奇数偶数

眸晓 2022-01-09 阅读 80
python
print('even' if int(input()) % 2 == 0 else 'odd')
举报

相关推荐

0 条评论