Pregunta de entrevista de BillionToOne

Python coding, basic genetics, conditionals, probabilities