top of page
Genetic Code
Central Dogma
Lists
For Loops
Loops & If Statements
Checkpoint
Summary
Checkpoint
Use a for loop to count the number of alanines in the protein
1 my_protein = ['methionine','valine','leucine','serine', 'proline', 'alanine', 'lysine', 'threonine','asparagine', 'valine','lysine','alanine', 'alanine', 'tryptophan', 'glycine','lysine', 'valine', 'glycine','alanine']
bottom of page