-
Notifications
You must be signed in to change notification settings - Fork 0
/
2rna.py
14 lines (13 loc) · 2.11 KB
/
2rna.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# done, submitted
def converter(inp: str) -> str:
output = ""
for letter in inp:
if letter == "T":
output += "U"
else:
output += letter
return output
a = "TTAGTTAACACTTATGCTATCCCGTGTAAGTACCTCTTGTACGCCATATTCTCAACAATTTTTTTCCTGGAATTAGTTGCTAGGGCATAGACAAGTGCTTTCGAGAGATCTCATTTCCCGAGCCCTTCCATCATTTATTTTCTTGCCGTTCTAACTGACCTGACTAACGCGTGCTTTCGGGTCCAAATCGGGTAATCTACAATAGAGCAACGCTCTCCACTTACCTGGATGGCTCCGGCTGGCAGTAAAGAACTATCGCACTTGACCCGATATCTCAGATCAGGTTCATGGCCCCTAATCGATCGTTTATACCGTATGGAATGCCCGATGACTGTTGTTTCAACACCCGCATTGTGTATTCGACTCGGCCACAAATAGTAACACCATAGGAGTTTTATTCGTTAGATTGCTTCACGCTGCGGTGAACGCCGTAACCCGCCTTGGAACATGGTTTTTCTCTATCGCACGGCCAACTTCGGGGCGTTTAGTTGTTCTTCGCGCAAGCCCGAGGCACTTGCCCTGCGTAGTCGTGTCCAGTCACCAAGCAAAACTGAACACAATGGCGATCAACTGTTCTACCGTAGCCCATTCGGGGATTAGGTCGCGCCGCGAAGCGGAAAATACCAACAAAGAGAAATGCGCGATCGGCATGTAAGATCCGCGGGCGACGAACCGCATGATTTGCGCGTGAGGTATGCGGGGTTCCGGCCGCCTGTGTAGTTTCGTGGTGCCTTGCACTTCTAGCGCGATGCTAGTTAAATCACACAGAGCCCTCCGGTCTTTCTGTGCGTGTCTTAGACATTTTCCTCATGTTGCGCCGGTTCTGTACTTGTGCAATCGCAGGCTGAATTTCACCGCTTTTTCCATATGTCTTATCTTTAATCACTCTGAAACTACTGCCCCGGCGCAGATAGTCTACTCGGGACAGCTCCGGAGTAGACATCCTCTAGCCAGCGCGAATTGA"
b = "GATGGAACTTGACTACGTAAATT"
c = "AGTAGGATGAGTACGTAACCTCTCCACGAGACCTCAAAGCCACTAGATTCGACACATACGAAAGTTGATTAACTGCGCCCGATCAAACCATGAATAGAGTGGACTTGAAACCCAAGGACCGGATACTCGCGATTAGTTAACACATTAGGGAGATGCTCTCTTGACGTTCTAGATAATGGCAGACATGTATGGATCGCGCCCGAGCCTTTGTGGTAGTACAGGCCTAAGGCATTTGTACTTATCGCTCTCAGAACGCAGGCCCTCGGGGATCTTACTGTCGAATGCAGCAGCTACTCCTATCGCCCGTTCTTGATATGTTTCGACTGGGAGTCGCGACCGTAATCGTTCAGTCGATCCGCATTTCGAGCACGTCAACTTGAATCCACAGCATGCTCGCACGACGAAGCCAGTGATAAACTTACCGTACGCTTAAAAGGAAAATTGAAACTGAGTTCAACTACGCGCACTGTTGCGGCAGGGAATTAGGAAATTACAAATACGAGGCGTAACTATTTCTTCTGATCACGCAGCCACAGAAAGAACTCTTGGCCCCTCCCGTAACGCCATTTGACTACAATATGGGCCGATGTACTCTGAGTTTTATAAAGCCCGCTTCCTATGCGCTCTTGCTCCTTCCACATGACAGATATTGCCCCTTGCTATATAGAAAATCTTGCGCGTAGGACGGTCCCATCTTAAATGCTCTCATATGGTTCTTCCATACTGGCTAGACTCGCAAAAGATGTTCTTAGCTCGGCCGATGAAGATGCATGCCGTTTATCGTTCGATTTCAAGTTGGGCCGAAAACCTAGTTCCCAAGGGGGGCTCGGTCGTAACAGTGTTCAGCAAGTATCGGGGGTCCCTAGTAGAGGTTGGTACATATACCAGTCCGTCTGCTCGACGCGAGGTGCTACAGGGCTGAGGTTCGTCCCA"
print(converter(c))