-
Notifications
You must be signed in to change notification settings - Fork 1
/
BA1C.py
13 lines (13 loc) · 9.69 KB
/
BA1C.py
1
2
3
4
5
6
7
8
9
10
11
12
13
text = "ATACCGGCCCACGCAGGCATCTGACATCGAACAATGCGGCGCCCCCTGTAGACCGTAAATGCCGATCGGATCAGCCTTTAGCACCATAGCCCGGCAATGTACGCAGTCTAGAAACTTCATACTTTCAACTGCCACGTATGAGGTGACACCGGCATTGTGCGTCCTAAAAGCTAGTCTCCCTGGTCAGCCTAGGTCCAACAAAAAGTCTCAACCCGCCCTGGGAGTTGGACTCTCCGTCGATAGAATTATGACTTCACTTTAGATATTCACATCGCTCGCGTATTCGTCGGGGCCGAAACTTATGAGGACGTGTGATTCACCCCATATCTTTGAGAGACCGGACGTGAATTTTCTTATCCCCAGCAAGCCCGTAATTCTATATGGCGGAATCGGACGCATACTGCGAGTCTCGGAATCGAGGCCCGAGTGCTCCCATACAATGGGTTAGGTCCTATAATCTATGTGCTCGTTCTGCTGCATTGAGAGCAAGCGAGTGCCCCGCTATTTTACGGTAACGAAAGAAGGGGGGCTGATCGGGATACCTTAGCGTGTGCACACGCTTCGTCCTCACGTGAGCCCGGGGCCAGCGGCAGCGGCACATGAACGGCTCACTCCATCCACCATGTTCTGGTGTTACTTACGATATATCATCACTATTGCTGAAGCTCACTTAAGCATATCGCTCGCAGGCTCCGAAGGTTTGAGACCTATAATGGGCATGCGTATGCTTACCCTCTAATAACCAGAGCACTCATCGGGGGGGCGCCATCAGGCTTCGGTCGGCTGAGGGATATCATGCGGAAGACTTTCCGGATGCCTTAATCAACGACGTAAGGAAGCATACCGACATAGTTCAAAGGGCCCAAGGCCAGAATCCGACACCCCCGCTCCTTCATATAATGAGCTACATTAATGTTGCCGCAATTAACTGTAGAACACAACGTGATCAAATTATTAAGTTACTGCTCTTACCTTAATATGCTAGCGATACCATCCTATTGGATTACGTGCGCAAAGCGGGTAGTTGTGCGGTATAATACGCACTGAGTGCTGTCACACATAGTCTCGACAAGTCCCAGGTGAGTAGTTTCCAACGCCTAAGACATGCATCCGGTCGGCCCCATGGTGGGGCCATCCAGCCCCCCAAGCTACGCTAGTCGTTTCTCTCGCTGAGACGGTTAGGACACCGTCGCAAAATGCTCGCACGTCTGGGATGGTGGTATGGGACACCCCGACACGTACCCTCACCCGCGGCTAAATATAGATGCCCGAGTGTCAATCTAGGAGTGGAAACGGGTCAGGACTTGCGAGGTGGATAAGTGGTGCTCCGTCACTTTACCCGAAAGACTCCTATTGGTTATGAAGCGCATAGAAAACGCCGGACAGCATTCGCTTCAGCCCTTCGATGCTGCAACTACCGTCGCTGGGTTAAAGAGATCTCCTGTGCTGGCAAGCGAGCCGTGCAAGAGAGCGTACTGGTCGGTTGTGATTCCTTAATAGCACCCGCATCGTAGTTACGTCTGGTTATAGATATGTGGGGTTAATTGTTTATACCCTAGGCCTATGCAGCAGTCTGCATATGTTTATAGATGCGGCCAGAGACGCAGAAGGTGCTCCCCAAAGACTAGTTTATTATTGAGTAGGTGAGTTTTACCATGAGGAGAACGAAACGGACTACAAGTAGGACCCAAGTCTAACACAGGGCACCCATAAACGTGCAGGCATAGCCGTATGGATCGCTACCCAGATCTCGTGTCGAGACAACCGTCCGCCTGAGCTGGGCTAAGTTCGGCAAATTCGTGTCGTGTGCTAGCTGGAATAACGAGGGACAACCCCGCGCACACAAATTTGGGCCCGGGGAGTGTTGTGAAAATCACTTTGGACCTTACCCTATAAGCTCAGCTCGCCTACTGGACGAAAGATATCCCGCCGTCCAACCTCCACCGCCGAACCAATTCCTCTCTCTGACCCCCCCAGATATTGGACGGGGATATAGTACATTGACTAGCTATTAAGCGCTCACGTTCAAACGCCAGAACGTTCAATCACACCGCTTATTGCGCTTGATGCGCCGAAAATTCCTGTATCCGGCGGAGGTTGCGCAGGGATCATGTCAAGTCCTCTCGCCTACTTATCTACTCGAAGTGCATCCTAACCCTAGACTCTTGTAACGTAATCAAACAATCGAGTTAGGCCCCGCAAACAGGACTTCTATTCTTAGTTTCTAGCTTCAGGATTGAACTGAGGGTCTACCAGGTTTAGGTGCGATAACCCTCCAACGGCTATTGTGTGTCTGGGGATGCGGAGGTTCACCGACACTACTCAGCCATGTTCCTACGCGCCTCCGATAAACCTACTTATTACACTATAGATCAAGTAGATTTTGCAGCCACTACTCCATCCTGTACCTACATATGGCACAGACCTTACCCCATCTTGTAGCGCGAGGTCATCATGGTGTTGCAGGCCCCTCTCAGATGTGCATGCAGCCTTATGTTCTGCCTCTAAGTGGGCACTTGAGGCACTTTACCAATACTTGTTTCCGGCAACAATGCAATGATCCTTAAAGACATTGTGATCCAATCATTAGAGCGTGGCGCCTCGCAGAACCCTCAGTACCAAACTCTTTTTATTACGGAGCCGGGAGAGGTCCAAGTTTAAAAGCTGTTCTTTCCAGGGGGCTAGTATACACAGGTAGACGACTCATACTTCCTCGGGTGCGAGCTGTCGCACCGGTTAATAATGCTGGGGCAAATATACTCTTTGTTGACAGGGATGAAAAGGAAGGGAGAATCTCCATATGGCGAAGGCTCAGATGTACCGCCGTACCGTTGGGTTGAAGCAGCACCCGCAAGCAAGGGCTTGTGCCGAAATCGATAGGTACCACGCTGGATCACCGCCGACACAGCGTATGCCGTCGAGGCAGTGTGCCATTGGCTATTTTCATACGTAGTTCCTCGCAAGACCGGTCAGACAATTTCACGGCTTGCTGCTAACCTTTGTGAGCTTAACTCTTACTGGGCTACCCCTCCATCATAGCGTACTGAACGAAAATCAGAAATCATCGATTAAGGCAGAGCCCCGGTGGTCGACATCGGCCAAGTGTGGGATAGTAACTCGGATCGTTAAGCCCATAACTTCAGAGCTAGCAAGAGAGAGTCAAGTTATGATTGTGAATGGCGGCCGGTTCGGTCACCCGATTATTAAGGAAGTTTACCTCCTTCGGGGCAGTGACGGTTGAGGGACATGCCTACGATATTCTATGAAACCCTCTGAGACTGGCATGAAGTCCACGTTACCGTACCACGATGTTCTCTAATTTATCGGCCTTAGACTCAATTTAGACCTGACAAGCGTTACACAGTCTAATATTTTGTAAGCCAATTCCATGCCATCTCCCGTTACGTTAGATATTAGCGATATGGGATCAGTCTACAAACCAATCCTTACGATAAGACGGTAAGGTGGTTCAGGCAATCGATAAACTCCGTTAGTAGCCACCTGGGCCAAGAGAGAAATATATTGCTTTCGAGCATTTTGTTGCGGGTTGCATGTCTTAGGCCTACCTTGCGAAGTGATCTTAAGATCTACGAAAAAATCTGTAAGTCGGCCGTCTATAACGTGGTAATGCCTAAGGGCTCCACGGGACGGGCTCTCCGGTATAGATAAACCAAACAGGTGCCCTAGGCAAGGGCAAGATTGGTGATGCATAGCGACGTGTCGGCATCCCCATTGTTCCTTCTCGCGGTCTTACCTCGTTACCGGAAGCGGACTTCATCGAACATCGGCATATGACAACACACCTCCTGCCCGCTGAAAACTCAACCAAGTGCTCAGTCATAATCGTGACTTCGTATTACATTGCTGTGTTGGGGTCTAAGCGTTACATAATAATATTAACGTTTGTGGTATAGAGCACATTTGAGAATTTGACGTGGCAAACCTCGATCTGTCTCCATCGGTGTCTCCCAATGCATAGTGATCAAGCGCAGCTGCTCTCACTACCTTGGACGACAAGCTGCCAAGAGCAGTTTTAAATCCAATTTAGGTACACGCCCTGAACCAGCATTATGCTGTATCTTACTACCGAGTTTTAACCAACAGTTATCGGTTTCCAGGGGGAGAGGGGTGTAGTAGGATTCTACCCTCCATTAGAAGGCTTAGCCCTACTAGATGTCATTCGTGAAGAGTGAGCTGGGAGGTGCCGCGCTAATCCTTTCTCGCGTGTTGTATGACGAGTTGACCTGCGCGCCATATTCACGGGCAGAGCGTGGCACGAAGCCTTAGCCCGGCATGCGGCACATAAAGGTGTTAATCCTACATTCCAAAGGATTATTCATCAACATTCAAGTACTTCATCGGGGCGAGGAAGTAGTGCTCCGTACGACATTGTGGACTCACATCTGGTTCCAGTACGGACGGCTTACGGGATTTTTGGGTGTCAAAGGTTATGCCTAACGGCACCCGGTGGCGTAGAAGAGTCTGTGTTCTCGATCCCCAGACTGGACCAGAAGTGCATGATTTTCTTCTGTCAACATTTATTTAGGCGCGGTATCACATCCGTCGTACTGTTGAAAGGAAGGGCAAAGCCTCACAAATGAGAGCTAGAGGCACCTTCCGATCCTCTTAAGTTTGATCTTGCGGAAAAAACTACGCGTGCCGAGCTACGGAAACCCTGAAGAGGTTGGTTTCGGTTCCGCTGCAGATTGTCGAAACAGACACGTGACCTGAGATGAACTTAAGATAGAACGCTTAGCGTGAAATCCTTGGTCGCTTTACGCCTCGTCTGTGACTAACCGGACGGTCGGGCCCCAGTAGAGGCCATTGAGGTGGTAAGAAAAGTTCTACCCACCCGACGTGAGGGTCGAAGAAACCTTGCACAAAGAGTTAGATGTTTAAATAATCGGACTATCGGTGCCTTTTAATGACACAATTTGCGTGCGGCCCGATTGGTCTGCCCGCACTTGGGCCTGGCCCTGCAAGAGTATGTCTTCCCTCCAAGAGTTTGACTGGCTCGCGGACACCTATAATCTGCGGTGGTTTCGCTGTCTGAGTTTTACCTCCTATCTTACGCTATAAATGCACGTTCGGTCACAATTGATGGCAGGCCAATACGGAGATCTGTTCGTTTTTTCCCCCCCCCGTTAATCGACGTTAGACTGTTGTGGATGCTAGTCAGTCTTAGGAACGTACGGGCCTGCAGGCTGCTCTCGACCAGGAGGTTTGGACCGTTATTGTCTGGCCGCAAAGGTGCCGTAAGCTCTCAGTCCAGTCTAGGAGCATATTTTCCGTTATCCCAGAACGTGCCTGAAAAGCTTACTTAAGTGGCAGTGTTCGACGAGGAATGTATATCTACCAGCGTTCTTGATCACCTCAGAAGTGCCTGCCTCGCTACACTAAGGATATTGGGGAAGTGCCCTAGTGAAAGCTTCGGAGGCATTGGACGCGCACAAACGTCCGCACCAGTAGCATGTACACAAACGAGACCAGCAGAGAGCACGCTCTTTCTAGCCTTTTCAGCATAGTGGGTGGTGCATGCCCCAGTGCTCGGACAACATTGAGGCGGCGAAAAATTTTGTGTCTTAGCGGTGACTAGATTGTGACTCCAAAAGGGCGTCGCCCAGCCGGACGCGCCGGCGACTGTAGGGATTGGTACATGCAGCACTCCAACGCGGGACTAACGAGATAGGCCCCCCGTGGCGTGGCTGCGATGACGACTTCCCGCTATTGGACTGCGTCATGCGAAGACATGTAGAACACCCGGCCACGGTAGTACACTACAAGAGCACTTTATTTATATAGCCGCCTTTACGCAATCATATTATAACTATTGTTTTCTAATGCTGCGGACCGGTCACCGCAATAGCTCGAATATAGCAAGTGAGCCTGAAGAATGCTCCTGCACAATAGAAATGACTGTTATTCCGGGCTCTGTTCATCGGAACACCGTGATTAGGAGCGCTCCGTACCATTAGGAGCTGCCGGGAACCCGCAGTACACCTTGGAACCTAGGAGCAGTGGCGGTGTGAGTTCAAGCGTGCCATCGATCCGCATATATGTCATTCTTAATTAACCGAGCCTCTGTCAAGCAGCAAGTTATGCTACGAGATCCTTCACGTGCCTTATTAACCTCGTGATTTATGCTCCATTGCGAAGGCATGCCTTCAAACGTCTCGTTGAGGGTTATCTTGCGATCAGGTCAAAGCTGTAACGTTCTAACAGCACACACTTGCCGCCTTGACCGAAGCTAATTAACCGCTGGTTAACGTTTCATTCTAGTTTACACTGCACAGATGAACATTGGAGATCCGGATTCTAGATAGTTCGCATGCCTCCCACGGAGTACGCTCACTTCAACAAGACGCTCTAGTCCCGTATCCTTATAAGGTCGTCGTTCCGAGCCACGCCAGCAACGGGGAGGTGACGTTTATACTACATTTCTAGAATAACATAATGGCCTTGCCTACGGTGGCATCCCCAGCCTCGCCAATGACCAAGGGGGCGATCAGGAAATAGAAAGAAAGGATCGCTTAGAACCCGAGATCAGGCGATAAATATGCGGTGTGTGTTGATCAGTTCCACCGTTGCCCCGTGTCACTAGTTGATCACCCGGATTTCCAAACTGAGTTTATAGCTAACTGCCTCTTTGTGCTCCTTGTACGAAAAAGCGCCGCTCAATCGACGGTGTGGCTCATGATTGATGAGCAATTGTCCTCTCCTTCCGACTAGCGGCCGGGCATTACAACGCACGACAATCCGATCAGCTCCGGGTAACCTAGAACTGTGAATTTTAATCGGTCCGGTCCCCCCCATTATGTCCGGGCAGAAAACCTGCATCGCTTGTTCTGCGGTTTGGTCTTCTTCAACTTGCAGTACATAGTGCACATACCCAGTTCACATGTTCGTGATTACGCTTCTAGACTTCTCCTATATTCACTTCTCCCGTAGGGAAGAATCGCATACGGAGGGCTCCCTCGACCTCGTTCGGCCCAGCGTTTTTTGTTAACCCAAATGGCTACCCTCCACCGTCGCTGACTGAACGTGATCATTTATCGACAACTGGTGCATATAGGTGCAGAACTTACTGTTCTTCTGGAGAGTCCAAATTCCATGCTCGAGGGGTCCTGGGACCATTTAAATGGAGCGTAGGTAATGTTTTATAGTAATAGTGAAGAGGAGGGTAAAACTCCAGAGAATCCTAAACGTTGCCTCTGAAGGTGGTCTATCCTTGCCACGTTATCGCACCTATCTTCACCCTGGACTGATCACCGTATCGTCACGCATGTGAACAATTGCCAAAGGCGGGAAGCTTTGGGGCACTGGGGTATTCAAGTCGCATTAACCTCACATGCTGGCGCACGCCTTCCCACAGAAGTGTCCCGAGGGGCGTTAGCTTCTAACGAAAGATAGAACGTCATCGCTGCTTTGGGGCCGTGGAATGCTCGGCGTACACGTGATACAACGTGATGTGAGGAGTTCACGCTTTTGAAAAACAGAGCGCAGCGGATAAGCCGCTGCCGCACAGTGCCAGTCCGCATTACGGTACGCCAGAGGCGCTGTCGCCATAGCGAACACGGACCTGACTACCTTGGGTCCCGTACGTCAAGGGTGAGCTATAGCTCTTCGTAGACTGCAGAGGCTTCGCAAATTGTTATTTCTTTCAGCCCCACATTTTTAACCGTGCTTAGCATCTAGACCGTCGGGCAGTATAGAAACATCGGTGGCCCAGAAGAAGTGGACCATAGGCATCGAGTTGACTACGAATGGTAGGTATTCATTTCGATGACGTCAGGCGCGAGACTCTATACGTACGTTGATCAAAGTCAACTCCCAGAATATGTTTTCCGTGTAGTCTGGCAGGCATGAGCTGGAAATCTAGAGTCATAACGCGGAACGAAATACACACCCTCATGGCTGATTAAGCCCCAAGCGCTTAAATGAGCGCTGAGCGCCCAAAGTAACATTTTCGTATCTCCTATTTTGCGTCCATCTAGCACGGTCTCCATGAAAAGAACCACTTTAGCACTGCGGGACTCTTTCACTAGCCCTAGGTCCACTCCACCAGGTAGTTAAATTCCGGGAACGGCGGGACGCGTAATGACGAAATACCTTCTTTGGACAAATCAAAAAGGACAAGGGACCGGAATGGTCGGGTGAGAGGTACTAGTAGATTATTGTGTAACTCAAGGGCCCACTGATTTGTGGGGTTACGTTGGCGTGACTCCCCATCACTGCATAAGTACCGCTCATGTACTTAATTGCTGCCCATGAGCTTCCATGTGTCTCCGAAGCATGGACGGGTGGACACCTGCAAAGTGAGGTTAGTAAAGGCTTACTGGGTTTATGTCATTACGAGACCTAGCGCCCCCCCACAGTCCAGACAACTTCGACCTCAAAAGAAAAAACCCGCAATAGGACATTATCCCTGCCGTAGGTCCAGCACGTGCACTCGATAATCAACTCGATATCAGTGGCGAGCTATAGTTCTCCTCTTCTAGGGTACGGGGTGGGCTAATGAGTTCCCCGCAGCTCTTCTGTATGATATGAGTCTGGTCTTGTGACGAGTGAAGTAAAGGCAGGCCGAGTGAGTCAGGCGGCCCTGCTACAATGGGCTCCCCCTTCCGTTCCACTTGAACCGCTGCTATTATCTCGCGTATGAGGGCGACGCCCAAACTATCTGAAATACGAATAATTTCCTTTGACCTCTGTATTTGAGCGGCAAACGCCGAAACGAACATGTTAAAAAGGTCACACCCATCAGGCAGGAGCTCGTCATGCCAAAGAAAGCCCTGTGTCATCGCTAAGTGGGTACGGGGCTTATCGGCGGATGATCACAGGAGCGGACCATCGACGGTGATACTATATCCGAGGCCGTCAATAATCCTACAGGCCAGGAACAGAGTTAATAGAGCACCAGTTGAAGCGAGCCTAAGAGGGCATCGAACTTGGGTCACATATGATTCAAATGTATGAACCTTATCGCTGGCACCACGATTATGTTAAGAGCAGTCAGGATAGGATCGCCCTTCTGTGATTCACAGTTTGTAGGGTGCTTACCTAACATCAGCATCCCCCAGGGGAGCGAGCATGGACTAAGCCATCCTCCTTTACCCGGCCTTCCGTTTGCTCTAAAAGTTTATTCCTACCAATATATTCAACGTCGTGACGATGCGTTGTATGGAGGCCGCGGGCGGCTATTGCATCTTCAGGATGAGCTGTTACCATATGATGAAGGGGCAGACGTACTGCGGGCTGGCGATTTGGGAGCCTCAGTCGTGTCAATGGCAATCCGTGAACGGTCATTCGTCGAAACCTAATGTCCGAGGCTGGCGCGTACGGCACTGTGTCATTAAGTCCCTGACCTTTGTATTCAATGTCGTTGCGTCCTAAAATCCCTCTATCACAGGTGCAACTGAGCTGTTCGCAAGAACGGCCTTTCTAATTTGGATAAACATTGTGGACCACGTGATCAAAAGGAGTGAGACCAAAAAGTCCCGGTTCCTAATTTGTCAAAGGGGATTAGCGTTAGGCTATGCTTCCGTGACTACACATAAGGGTTCAGCTTTAGTGGACCCGATTAGGCCTGCCGTTCGCCCGAAAAAAGGCCGGTGGGCGCACGCTACAGTCGAACGTTCTATTCTAGGCCCAGCCGTGGTCCTTTTCTTGAACTTGTCACTCGCCCTGTACAAAAGTGTGGCAATCTCAAGGAACTCACACCTGTCTTGGAAGATGGCCTATCAGCCTCAACAGAAGGTCGTTTTCAGCAACT"
d = {
'A': 'T',
'T': 'A',
'G': 'C',
'C': 'G'
}
text = text[::-1]
ans = ""
for ch in text:
new = d[ch]
ans += new
print(ans)