User Tools

Site Tools


assignment2

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
assignment2 [2018/09/27 17:37]
dokuroot
assignment2 [2018/09/29 13:38]
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.
 \\ \\
  
Line 37: Line 37:
  
 ====Exercise 5==== ====Exercise 5====
-Write a function called ''​sum_num()''​ that computes the sum of up to 4 numbers ​(i.e. the user can enter 1-4 numbers). **You do not need to prompt the user for the numbers.**+Write a function called ''​sum_num()''​ that computes the sum of up to 4 numbers. **You do not need to prompt the user for the numbers.**
  
 ====Exercise 6==== ====Exercise 6====
assignment2.txt ยท Last modified: 2018/09/29 13:38 by dokuroot