print("{:^10}{:^10}{:^10}". format("姓名","最高成绩(cm)","最高成绩对应轮次")) for i in range(len(L)): b=getMax (L[i]) print ("{:^10}{:^10}{:^10}". format(L[i][0], b[0], b[1]))