Module 4
Module challenge
Putting string skills to work.
Analyze a sequence
Given a DNA sequence, extract the first three bases, count the G's, and print the sequence in uppercase.
Your task
Analyze a sequence
- Extract the first 3 bases of ATGCGTA, count the G's, and print it uppercase.
Remember
• Access characters by index • Use negative indexing • Slice strings • Search, count, replace, and clean text