-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrna.py
15 lines (12 loc) · 1.16 KB
/
rna.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
def process(_input):
result = ""
for _char in _input:
if _char == "T":
result += "U"
else:
result += _char
print(result)
return result
process(
"CATGGGGCATGACTACGCATTGCATACCGCAGCACTGATTCGCAGTCTTACGCTCTGACACTTCAAATCTCATCGCCTAAGTAGAAGTCAGTCCCGCCCCCCATACGTTGCGCTATGAGGGTCAAGCTGCCACGTTCGGCCCTCTCTATAACATCTAAGGCGCGCATGCACGCCGGTCTTCAATCAAGGCTGAAAGCATGACGCTGAGGTTCCCAAACCGCGATGCATCTGTTTCTTGACAACCACCGCAACAGATTCTGGCACTGTACCTAACACAATTTCCAGGTGTATCCTACCGTGGCTCACTAAACAGAATTATAGTAGTGGCATGTTTCACCTATATTTTATTAGGAGGTCGAGTACCTCGTTCGCCACTTGATCGTAGGTTAAGTGGCCTTCACACGCGTTCCTTTGCCATAACTTATTACGTGATCAGTAAAATTGCGTGGTTTTACGCGAAATGCCGGGAATGCTTTCCAGGTCCCGTGCATCCTCTGATCAAAGTGGATGGAGTGGGTACCGACGAGGAACCGCAATTGAGTGAACCTCGATCCGAGCACTGCTTCCGTCTGTCCTATCCCCATTGTAGCATGACATAGCCCTGAGACACTCGCCTTCGACTGAGGCCGTCGAATTAGACCCAATTTGTGAGTGATGATAAACCACTACAATTTCTGAGGCCAGGAAACCCGATGGTAACAAACCTATACTGCCTCACGGCCCATATTGAGCATACCCTCGAAGCACTAATAGTGAACGGATAGGTTGGCTCCCATGCTATTAAACATAGCTAAAGCAATCCGGTCCCAGTCACTAATCAAATTTAACGCAAACAATGTGGCTTGCCGCGATAACTGTACCCCAAGGTCGCAGGCCCAGGATGGGAATGCTAGGTTGGCTTCTTAGAACCAGAATTACGATATGACAGTTCGCGCAATATATAAGATGTCTCCCCTATTGTGGCTGGGCGTCCTGTC"
)