the max scroe and the person's name.
(scores)
| 23 | return [(i[1], i[0]) for i in sort_lst] |
| 24 | |
| 25 | def max_score(scores): |
| 26 | """ |
| 27 | the max scroe and the person's name. |
| 28 | """ |
| 29 | lst = sorted_score(scores) |
| 30 | max_score = lst[0][1] |
| 31 | return [(i[0],i[1]) for i in lst if i[1]==max_score] |
| 32 | |
| 33 | def min_score(scores): |
| 34 | """ |