My issue
t = int(input()) # Number of test cases
for _ in range(t):
N, K = map(int, input().split())
if K == 1 or N == K:
print("NO")
else:
print("YES")
My code
t = int(input()) # Number of test cases
for _ in range(t):
N, K = map(int, input().split())
if K == 1 or N == K:
print("NO")
else:
print("YES")
Learning course: Design and Analysis of Algorithms
Problem Link: https://www.codechef.com/learn/course/kl-daa/KLDAA2400H/problems/DSTAPLS