def complement(text):
    rez = ''
    for i in text:
        if i == 'A':
            rez += 'T'
        elif i == 'T':
            rez += 'A'
        elif i == 'C':
            rez += 'G'
        else:
            rez += 'C'
    return rez[::-1]


x = complement('AAAACCCGGT')
print(x)

6c1d6df88d91e24e673d0558e19a73ea7d3f11c2
<mask token>

def complement(text):
    rez = ''
    for i in text:
        if i == 'A':
            rez += 'T'
        elif i == 'T':
            rez += 'A'
        elif i == 'C':
            rez += 'G'
        else:
            rez += 'C'
    return rez[::-1]


<mask token>

def complement(text):
    rez = ''
    for i in text:
        if i == 'A':
            rez += 'T'
        elif i == 'T':
            rez += 'A'
        elif i == 'C':
            rez += 'G'
        else:
            rez += 'C'
    return rez[::-1]


<mask token>
print(x)

def complement(text):
    rez = ''
    for i in text:
        if i == 'A':
            rez += 'T'
        elif i == 'T':
            rez += 'A'
        elif i == 'C':
            rez += 'G'
        else:
            rez += 'C'
    return rez[::-1]


x = complement('AAAACCCGGT')
print(x)
