如何在python中按AaB而不是AB的顺序对字符串排序我正在尝试对字符串进行排序(为punnetsquare生成一个基因型)。 我目前的实施是: unsorted_genotype = 'ABaB' sorted_genotype = sorted(li ...2024-05-10 已阅读: n次