题解 | #计算题目难度#
计算题目难度
https://www.nowcoder.com/practice/76ae981719834b92b877bdc9ac6d38f3
grade=list(map(int,input().split())) ave=sum(grade)/len(grade) print('%.1f'%(ave/grade.count(100)))
py有很多运算函数,能够减少代码冗余量
计算题目难度
https://www.nowcoder.com/practice/76ae981719834b92b877bdc9ac6d38f3
grade=list(map(int,input().split())) ave=sum(grade)/len(grade) print('%.1f'%(ave/grade.count(100)))
py有很多运算函数,能够减少代码冗余量
相关推荐