What's wrong in my code?

c = 0;
H = [2010, 2015, 2016, 2017, 2019];
T = int(input(“enter no. of test cases\n”))
for x in range(0,T):
A= int(input(“enter the year\n”))
for y in range(5):
if H[y] == A:
if c == 1:
print (“HOSTED”)
print (“NOT HOSTED”)

You don’t need to print anything on console other than expected output.

You have printed “enter no. of test case” and “enter the year” that is why you get WA

Thanks for the answer!

You can accept the answer, if you thought answer is correct according to your question then question can be closed.