2020/Province_C_C++_A/F/成绩分析_python

Code

Python

if __name__ == '__main__':
    achievements = []
    n = int(input())
    for _ in range(n):
        achievements.append(int(input()))
    print(max(achievements))
    print(min(achievements))
    print(round(sum(achievements) / len(achievements), 2))