Update xnor.py
This commit is contained in:
@@ -1,9 +1,2 @@
|
||||
def XNOR(a,b):
|
||||
if(a == b):
|
||||
return 1
|
||||
else:
|
||||
return 0
|
||||
|
||||
x = input()
|
||||
y = input()
|
||||
print(XNOR(x,y))
|
||||
a, b = int(input()), int(input())
|
||||
print(bool((a or not b) and (not a or b)))
|
||||
|
||||
Reference in New Issue
Block a user