题解 | 累加数与平均值
累加数与平均值
https://www.nowcoder.com/practice/ed009465ad6940609542ef5879a0d697
age_li =list(map(int,input().split()) )
print(sum(age_li),f'{sum(age_li)/len(age_li):.1f}')
累加数与平均值
https://www.nowcoder.com/practice/ed009465ad6940609542ef5879a0d697
age_li =list(map(int,input().split()) )
print(sum(age_li),f'{sum(age_li)/len(age_li):.1f}')
相关推荐