I want to write a Python script where the input is a genotype (e.g. CCDd) based upon the following Punnett square. The output should be the phenotype (e.g. seal).My code works, but doesn't look that 'pythonic' at all.def colour(input):    if len(set(input)) == 2 and input[0] != 'C' and input[2] != 'D':        return('lilac')    elif len(set(input[2::])) == 1 and input[2] != 'D':        return('blue')    elif len(set(input[0:2])) == 1 and input[0] != 'C':        return('chocolate')    else:        return('seal')
Genotype as input, give the phenotype
python;beginner;parsing