A Script to tabulate genetic exercises related to Mendel's laws.
pip install -r requirements.txtpython GenCross.pyIf Pedro has straight hair and his parents have curly hair, the straight character cannot be dominant. Pedro will be rr and his parents, Rr, since they have curly hair and have had a son, Pedro, with straight hair. Mar has curly hair (R-) and her father is straight (rr), so Mar will have to be heterozygous (Rr) for this character.
Genotype 1: r, r
Genotype 2: R, r
r r
R Rr rr
r Rr rr