orik's blog

By orik, history, 4 years ago, In English

n = input()

for i in range( int(n)):
x ,y=map(int,input().split())

if(x%2==0 and y%2==0):
    print('yes')   

elif(x%2!=0 and y%2!=0):
    print('yes')        
else:      
    print('no')

This is my python code , it gets the verdict runtime error when i submit it. What is the problem in my code

Full text and comments »

  • Vote: I like it
  • -8
  • Vote: I do not like it