求一个班的平均分

sum = 0 for n in range(1,6): print("请输出第",n,"个学生的成绩:") score = input() sum += int(score) print("班级平均分:%d" %(sum/5))
相关文章
相关标签/搜索