My issue
Traceback (most recent call last):
File “prog.py”, line 10, in
File “”, line 1
1 4
^
SyntaxError: unexpected EOF while parsing
My code
def is_good_turn(X, Y):
return "YES" if X + Y > 6 else "NO"
# Read the number of test cases
T = int(input())
# Process each test case
for _ in range(T):
# Read X and Y for each test case
X, Y = map(int, input().split())
# Check if the turn is good and print the result
print(is_good_turn(X, Y))
Problem Link: GDTURN Problem - CodeChef