Help me in solving FLOW010 problem

My issue

My code

t=int(input())
for x in range(t):
    i=input()
    if (i=='b' or i=='B'):
        print("Battleship")
    if (i=='c' or i=='C'):
        print("Cruiser")
    if (i=='d' or i=='D'):
        print("Destroyer")
    if (i=='f' or i=='F'):
        print("Frigate")

Problem Link: FLOW010 Problem - CodeChef

T = int(input())
for i in range(T):
s = input()
if (s == ‘B’ or s == ‘b’):
print(‘BattleShip’)
elif (s == ‘C’ or s == ‘c’):
print(‘Cruiser’)
elif (s == ‘F’ or s == ‘f’):
print(‘Frigate’)
else:
print(‘Destroyer’)

the code will be like this.