Code rejected :
if y<x:
print(0)
else:
print(1)
Code Accepted:
if x>y:
print(1)
else:
print(0)
Code rejected :
if y<x:
print(0)
else:
print(1)
Code Accepted:
if x>y:
print(1)
else:
print(0)
The output in case of x == y is different for both the cases.
Got it, thanks