Python3 题解 | #判断整数奇偶性#

判断整数奇偶性

http://www.nowcoder.com/practice/a8b018667e274af29b5f76a6673450fc

#python3题解#

lis = []
while 1:
    try:
        lis.append(input())
    except:
        break
print("\n".join("Odd" if int(x) % 2 else "Even" for x in lis))
全部评论

相关推荐

评论
点赞
收藏
分享

创作者周榜

更多
牛客网
牛客网在线编程
牛客网题解
牛客企业服务