# transcribes dna to RNA A->U

def complement(nuc):

    if nuc == 'G':

         return 'C'

    if nuc == 'C':

        return 'G'

    if nuc == 'T':

        return 'A'

    if nuc == 'A':

        return 'U'


def to_rna(dna):

    rna =''

    for nuc in dna:

        rna += complement(nuc)
        
    return rna

d596b063218aa75ee56fb78e70c474a2788d9225
<mask token>

<mask token>


def to_rna(dna):
    rna = ''
    for nuc in dna:
        rna += complement(nuc)
    return rna

def complement(nuc):
    if nuc == 'G':
        return 'C'
    if nuc == 'C':
        return 'G'
    if nuc == 'T':
        return 'A'
    if nuc == 'A':
        return 'U'


def to_rna(dna):
    rna = ''
    for nuc in dna:
        rna += complement(nuc)
    return rna

# transcribes dna to RNA A->U

def complement(nuc):

    if nuc == 'G':

         return 'C'

    if nuc == 'C':

        return 'G'

    if nuc == 'T':

        return 'A'

    if nuc == 'A':

        return 'U'


def to_rna(dna):

    rna =''

    for nuc in dna:

        rna += complement(nuc)
        
    return rna
