Question: All we need to do now is use the dictionary to translate' each codon in the list. We'll start by defining a new variable that

All we need to do now is use the dictionary to translate' each codon in the list. We'll start by defining a new variable that will hold our amino-acid sequence, as a string: prot. It's initialized as the empty-string" because there are no amino acids in the protein sequence, yet. We'll need a for loop definition line that loops over all the codons in the cDNA: for codon in cans In the for loop body, we just need to look up the residue associated with the codon: residue - genetic code codon And append it to the protein sequence string: prot residue At the end (and outside the loop body), we'll print the complete protein string: printproto In our case, we want the *
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
