This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
assignment2 [2018/09/27 17:38] dokuroot |
assignment2 [2018/09/29 13:38] (current) dokuroot |
||
---|---|---|---|
Line 21: | Line 21: | ||
====Exercise 2==== | ====Exercise 2==== | ||
- | Write a function called ''stop_codon()'' that tests for the presence of a stop codon (UGA, UAA, and UGA) in an RNA sequence and returns a Boolean value indicating whether the sequence contains a stop codon. The sequence should be passed to the function as in 1. | + | Write a function called ''stop_codon()'' that tests for the presence of a stop codon (UAG, UAA, and UGA) in an RNA sequence and returns a Boolean value indicating whether the sequence contains a stop codon. The sequence should be passed to the function as in 1. |
\\ | \\ | ||