i wrote a code in python 3 of Grade The Stell but whenever i submit my code it is shows me result = wrong answer but i am getting correct answer for examples given in question. i checked code many times but didn’t find any mistake please please please help me here is my code
for i in range(int(input())):
h,c,t=map(float,input().strip().split())
if h>50 and c<0.7 and t>5600:
print(10)
continue
if h>50 and c<0.7 and t<5600:
print(9)
continue
if c<0.7 and t>5600 and h<50:
print(8)
continue
if h>50 and t>5600 and c>0.7:
print(7)
continue
if c<0.7 or t>5600 or h>50:
print(6)
continue
if c>0.7 and t<5600 and h<50:
print(5)
continue