题解 | #牛牛的逻辑运算#

牛牛的逻辑运算

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

list_ = list(int(x) for x in input().split(' '))
print(list_[0] and list_[1])
print(list_[0] or list_[1])
print(bool(not list_[0]))
print(bool(not list_[1]))

全部评论

相关推荐

09-26 19:45
门头沟学院 Java
点赞 评论 收藏
分享
爱读书的放鸽子能手很...:刷个两端实习,冲春招,流水线什么时候不能去
我的秋招日记
点赞 评论 收藏
分享
评论
点赞
收藏
分享

创作者周榜

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