I am getting nzec error

This post was flagged by the community and is temporarily hidden.

put your all main code in the try block
and in catch(Exception e) return; simply

thank you bro but my logic is working fine with other compilers and I handled the exception

but it is running fine but now not submitting. Pls give me a hint like why isn’t it running

try:
    t = int(input())
    a,b,c,d,e = map(int, input().split())
    
    condition1 = (a+b <= d and c< e)
    condition2 = (b+c <= d and a< e)
    condition3 = (a+c <= d and b< e)
    
    if condition1 or condition2 or condition3:
        print("YES")
    else:
        print("NO")
except:
    pass

testcase = int(input())
for tc in range(testcase):
a,b,c,d,e = map(int,input().split())

condition1 = (a+b<=d and c<=e)
condition2 = (b+c<=d and a <=e)
condition3 = (c+a<=d and b<=e)

if condition1 or condition2 or condition3:
    print("YES")
else:
    print("NO")