题解 | #班级成绩输入输出#
班级成绩输入输出
https://www.nowcoder.com/practice/60d96b08e1cb42e38629d54e37eac008
while True: try: l=list(map(float,input().split())) for i in l: print(f'{i:.1f}',end=' ') s=sum(l) print(f'{s:.1f}') except: break
班级成绩输入输出
https://www.nowcoder.com/practice/60d96b08e1cb42e38629d54e37eac008
while True: try: l=list(map(float,input().split())) for i in l: print(f'{i:.1f}',end=' ') s=sum(l) print(f'{s:.1f}') except: break
相关推荐