Problem 2: Transcribing DNA into RNA

Medium

Transcription is the process of copying a segment of DNA into RNA. In RNA, the nucleotide "T" (thymine) is replaced with "U" (uracil). Given a DNA string, your task is to transcribe it into RNA by replacing all occurrences of "T" with "U".
Write a code on your PC to perform this transcription, run it with the provided input, and then paste your results here and click on submit.

Sample Input:

GATGGAACTTGACTACGTAAATT

Sample Output:

GAUGGAACUUGACUACGUAAAUU

Constraints:

The DNA string will contain at most 1,000 nucleotides.

Explanation:

In the sample input, the DNA string "GATGGAACTTGACTACGTAAATT" is transcribed into the RNA string "GAUGGAACUUGACUACGUAAAUU" by replacing all occurrences of "T" with "U".

Post a Comment

0Comments

Post a Comment (0)

#buttons=(Ok, Go it!) #days=(20)

Our app uses cookies to enhance your experience. Check Now
Ok, Go it!