Help me .... the code i have written is executed successfully but it is unable to be submitted

My issue

My code

t=int(input())
for i in range(0,t):
    (x,y,z)=map(int, input().split())
    print(x, y,z)
    if (y-x) in range(0, z*2+1):
        print("yes")
    else:
        print("no")
        

Problem Link: RCBPLAY Problem - CodeChef

@codealpha07
the logic is if z * 2 + x >=y then print yes
else print no.