Create ex2.py
This commit is contained in:
9
LabMD_1/ex2.py
Normal file
9
LabMD_1/ex2.py
Normal file
@@ -0,0 +1,9 @@
|
||||
def XNOR(a,b):
|
||||
if(a == b):
|
||||
return 1
|
||||
else:
|
||||
return 0
|
||||
|
||||
x = input()
|
||||
y = input()
|
||||
print(XNOR(x,y))
|
||||
Reference in New Issue
Block a user