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?
- Create a string for the sample dataset.
- Assign T and U to a variable.
- Print a statement that replaces the T with the U
I got it right on the first try with the help of Stack Overflow.
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!