题解 | #累加数与平均值#
累加数与平均值
https://www.nowcoder.com/practice/ed009465ad6940609542ef5879a0d697
a = input().split() b = [] for i in a: b.append(int(i)) print(str(sum(b)) + ' ' + str(round(sum(b)/len(b), 1)))
累加数与平均值
https://www.nowcoder.com/practice/ed009465ad6940609542ef5879a0d697
a = input().split() b = [] for i in a: b.append(int(i)) print(str(sum(b)) + ' ' + str(round(sum(b)/len(b), 1)))
相关推荐