def by_name(t): return t[0].lower()
def by_score(t): return -t[1]
第一题无法处理第一个字母相同的,正常第一位相同应该按照第二位排列。
Sign in to make a reply
KonoNA7