Module 8
Codons
Grouping bases into threes.
Reading in threes
During translation, the cell reads the RNA sequence in groups of three bases called codons. Each codon specifies an amino acid.
Python
rna = "AUGCGUAAG"
for i in range(0, len(rna), 3):
print(rna[i:i+3])→ AUG
CGU
AAG
Your task
Read codons
- Loop through AUGCGUAAG in steps of 3 and print each codon.