Deoxyribonucleic acid (DNA) is a chemical found in the nucleus of cells and carries the "instructions" for the development and functioning of living organisms.
In DNA strings, symbols
"A" and "T" and
"C" and "G" are complements of each other. Implement a function
DNA_strand to match the given side of DNA with its complementary side.
DNA_strand("ATTGC") # return
DNA_strand("GTTAAC") # return
Want to propose a challenge idea for a future post? Email firstname.lastname@example.org with your suggestions!