June 2021
Beginner
432 pages
9h 9m
English
Deoxyribonucleic acid is a tiny molecule that exists in every cell of our bodies and contains the blueprint for how our bodies grow. It looks like a double helix (a sort of twisted ladder) of pairs of nucleotide molecules: guanine, cytosine, adenine, and thymine. These are represented by the letters G, C, A, and T. DNA is a long molecule; it’s microscopic, but if it were stretched out, its 3 billion base pairs would be 2 meters long! This program is a simple animation of DNA.
When you run dna.py, the output will look like this:
DNA Animation, by Al Sweigart al@inventwithpython.com Press Ctrl-C ...Read now
Unlock full access