Genetics, Dna, Ancestry, Simulation, Python.
(variable based on the number of generations input by the user). It also made it easy for me to keep track of the generation, left-right position in the tree, and sex of an ancestor. The first character is a letter corresponding to male ancestors (‘P,’ for paternal) or female ancestors (‘M,’ for