标签:problem bin tput order acid pytho set uac tran
An RNA string is a string formed from the alphabet containing ‘A‘, ‘C‘, ‘G‘, and ‘U‘.
Given a DNA string tt corresponding to a coding strand, its transcribed RNA string uu is formed by replacing all occurrences of ‘T‘ in tt with ‘U‘ in uu.
Given: A DNA string tt having length at most 1000 nt.
Return: The transcribed RNA string of tt.
GATGGAACTTGACTACGTAAATT
GAUGGAACUUGACUACGUAAAUU
方法一
str = ‘GATGGAACTTGACTACGTAAATT‘ print str.replace(‘T‘,‘U‘)
标签:problem bin tput order acid pytho set uac tran
原文地址:http://www.cnblogs.com/think-and-do/p/7255658.html