diff --git a/LabMD_1/ex2.py b/LabMD_1/ex2.py new file mode 100644 index 0000000..66e105c --- /dev/null +++ b/LabMD_1/ex2.py @@ -0,0 +1,9 @@ +def XNOR(a,b): + if(a == b): + return 1 + else: + return 0 + +x = input() +y = input() +print(XNOR(x,y))