a="GAGATACCTACGACGGGCGCAGGGACCTGTATTCGAGGCAAGCCAGGCCGCTTTATACCGTCTGCTTCCGCCTCCGGGCCTTCAACTGCATGGTATTAGGTTATGATGCGGAACTAGTTTACTTCGGACGGCCCAGCACTTTGATTATCGTGCCAGATGTAAAGCGATGATCTCCAGGAACCATAAGCAATGAAAATGACCGGATCACCCATTGGCGCCCTGGGTCATCAACAAACCCACAACTCTCCGGTTTGTGACAGACAGTCATGCGGTGGTTCAGATCATCACCACGCGTAGAAATGTAACAGCAGGCAACAGATAATAATAAGTGGCGGGGAATAGTTAATGGGAGAACGTACGGGAACCAGTCCGGAGATATAGTCGTCGCTACCGCAGCTCCCATAGACTCGGTTGGCTTATCTCTAGTGTCCGTCGCCCTTCATGACGTCGGCGTGAAAACCAAGGGTTCAGCTTGTCGGGCGTAGTAAAATTGCCTTACACAGTTGATTCTAAATCCTACCGAAAGTTTGAGGAGAGGAATTGCAATAGGGCGGAGGCCCGGACACACCTCAGGCCAGGTCCATGCACGGCTACATCTCGAAAATCGACGGCACGATCGAGGCGAGAGATGGATATGACCCGTTTTCAGTGCTTTCATCTAGCTATTGGCGCCGCAGAACATTAGCTGGCGTGTACTTCCAGTACGCCCTAATGAACGCACGCTTGTGCTAAGCGGGTCTCTGGAACAGGACCAAGGCAAGCTTTGGGTTGTGTTAGAGCACTTTCAGCACGCGAGCGCAATTGGGACTAGCTGGTAAGAACATTACTAGCGCCAGGATGATCACTACATAAGGCGCATATACACTGTCAGCTCCCCGGGCCTCGCAACGAGGTGCCCTGTGGTTTGAAGGGCAGGACTGCGGGTCCCAAGGCCGTTGTCTGGAAAACCACTTGGCTGG"
a= a.replace("T","U")
print(a)


An RNA string is a string formed from the alphabet containing 'A', 'C', 'G', and 'U'.

Given a DNA string t corresponding to a coding strand, its transcribed RNA string u is formed by replacing all occurrences of 'T' in t with 'U' in u.

Given: A DNA string t having length at most 1000 nt.

Return: The transcribed RNA string of t.

'Python > rosaland' 카테고리의 다른 글

Counting Point Mutations  (0) 2018.11.21
Computing GC Content  (0) 2018.11.21
Rabbits and Recurrence Relations  (0) 2018.11.16
Complementing a Strand of DNA  (0) 2018.11.14
Counting DNA Nucleotides  (0) 2018.11.14

+ Recent posts