Help me in solving LB10 problem

My issue

Any logic

My code

#Update the code below to solve this problem

t = int(input())
for i in range(t):
    sx, sy, ex, ey = map(int,input().split())
    if sx==ex or sy==ey:
        
    

Learning course: Python for problem solving - 1
Problem Link: CodeChef: Practical coding for everyone