My issue
how to debug this code
My code
for t in range(int(input())):
n, m = map(int, input().split())
if n % 2 != 0 and m % 2 != 0:
print(n + m - 1)
elif n % 2 != 0 and m % 2 == 0:
print(m)
elif n % 2 == 0 and m % 2 != 0:
print(n)
Learning course: Python with Data structures
Problem Link: Practice Problem in - CodeChef