Python script that calculates the complement and reverse complement of a DNA sequence.
This program takes a DNA sequence as input and generates:
- the complementary strand, where each base (A, T, C, G) is replaced by its complementary pair (T, A, G, C)
- the reverse complement, which is the complementary strand read in reverse order (5' → 3')
Input: ATGCGCAA Output: Complement strand: TACGCGTT Reverse complement: TTGCGCAT