题解 | #班级成绩输入输出#
班级成绩输入输出
https://www.nowcoder.com/practice/60d96b08e1cb42e38629d54e37eac008
while True: try: A = list(map(float,input().split(' '))) print(f'{A[0]:.1f} {A[1]:.1f} {A[2]:.1f} {A[3]:.1f} {A[4]:.1f} {sum(A):.1f}') except: break
班级成绩输入输出
https://www.nowcoder.com/practice/60d96b08e1cb42e38629d54e37eac008
while True: try: A = list(map(float,input().split(' '))) print(f'{A[0]:.1f} {A[1]:.1f} {A[2]:.1f} {A[3]:.1f} {A[4]:.1f} {sum(A):.1f}') except: break
相关推荐