4 lines
121 B
Python
4 lines
121 B
Python
RNA_TRANSLATION = ''.maketrans('GCTA', 'CGAU')
|
|
|
|
def to_rna(dna_strand):
|
|
return dna_strand.translate(RNA_TRANSLATION)
|