The Algorithms logo
The Algorithms
À proposFaire un don

Dna 2 Rna

P
"""
    dna2rna(s::AbstractString)
Given: A DNA string t

having length at most 1000 nt.

Return: The transcribed RNA string of t
"""
function dna2rna(s::AbstractString)
    return replace(s, 'T' => 'U')
end