PAT B1004 成绩排名 (20 分)-Python
题目链接:https://pintia.cn/problem-sets/994805260223102976/problems/994805321640296448思路:比较就完了,如果符合当前最大(最小)条件,就更新名字和学号。参考代码:a = int(input())maxi = -1mini = 101for i in range(0, a): line ...