Python 3.6

problem link:

what is the problem with my code??

t=int(input())
while t>0:
val=int(input())
if val==2010 or val==2015 or val==2016 or val==2017 or val==2019:
print(“Hosted”)
else:
print(“Not Hosted”)
t-=1

output will be in capital not in small.

@puru15 share your output sample.

“HOSTED” in place of “Hosted”.
“NOT HOSTED” in place of “Not Hosted”

1 Like