My issue
what is my mistake
My code
t = int(input())
for _ in range(t):
n = int(input())
s = input()
for i in range(0, len(s), 2):
if s[i] == '0' and s[i+1] == '0':
print("A")
elif s[i] == '0' and s[i+1] == '1':
print("T")
elif s[i] == '1' and s[i+1] == '0':
print("C")
else:
print("G")
Learning course: Strings using Python
Problem Link: DNA Storage Practice Problem in - CodeChef