Minsu Kim/python/Rosalind / problem2

From Biolecture.org

f = open('rosalind_ba1c.txt','r')
b = f.readline()
f.close

b = b[::-1]
text = list(b)

for i in range(0,len(text)):
    if text[i] == 'A':
        text[i] = 'T'
    elif text[i] == 'G':
        text[i] = 'C'
    elif text[i] == 'C':
        text[i] = 'G'
    elif text[i] == 'T':
        text[i] = 'A'
        
b = ''.join(text)

##print(b)