题解 | 牛牛的逻辑运算

牛牛的逻辑运算

https://www.nowcoder.com/practice/d1f6b7dd048f48c58d974553f0c5a3bc

import sys
# 没有添加 map() 错误
x , y = map(int,input().split())

print(x and y)
print(x or y)
print(not x)
print(not y)

全部评论

相关推荐

评论
点赞
收藏
分享

创作者周榜

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