Ad

Estimates the height of the son/daughter by doing the sum of dad_height and mom_height and dividing it by 2
the first digit is the feet and the second inches
If its a boy add 5 inches
If its a girl subtract 5 inches

def est_height(gender, dad_height, mom_height):
    if gender=="boy":
        return ((dad_height + mom_height)/2)+0.5
    else:
        return ((dad_height + mom_height)/2)-0.5