题解 | #统计成绩#
统计成绩
https://www.nowcoder.com/practice/cad8d946adf64ab3b17a555d68dc0bba
n = input() n_scores = input().split(' ') n_scores = list(map(lambda i: float(i),n_scores)) n_scores.sort() print("%.2f %.2f %.2f" % (n_scores[-1], n_scores[0], sum(n_scores)/len(n_scores)))