My issue
solution
My code
# cook your dish here
n=int(input())
i=1
while(i<=n):
a=int(input())
i+=1
j=1
s=[]
r=[]
while(j<=a):
b=int(input())
s.append(b)
for i in range(0,len(s)//2):
r.append(s[0])
r.append(s[1])
s.pop(0)
s.pop(0)
if(r[0]+r[1]==00): print("A")
elif(r[0]+r[1]=='01'): print("T")
elif(r[0]+r[1]==10): print("C")
elif(r[0]+r[1]==11): print("G")
Learning course: Strings using C
Problem Link: DNA Storage Practice Problem in - CodeChef