Transcribing DNA into RNA in Python

This next problem asks you to replace T’s with U’s to make the RNA strand from the DNA strand.

How to solve this?

  1. Create a string for the sample dataset.
  2. Assign T and U to a variable.
  3. Print a statement that replaces the T with the U


I got it right on the first try with the help of Stack Overflow.

Lessons Learned:

I went back to Udacity to see if Lesson 1 would help. It did help to understand the basic concepts of this problem. So, I recommend you review Lesson 1. In addition, I used code from Stack Overflow to solve this problem.


You can follow me on twitter @cabioinformatic.

Thanks for the read!