题解 | #牛牛的逻辑运算#
牛牛的逻辑运算
https://www.nowcoder.com/practice/d1f6b7dd048f48c58d974553f0c5a3bc
# x,y = input().split() # print(x and y) # print(x or y) # print(not int(x)) # print(not int(y)) def fun(x,y): if (x and y): print(y) else: print(x) if (x or y): print(x) else: print(y) print(not int(x)) print(not int(y)) a,b = input().split() fun(a,b)