ython用循环计算并输出从键盘输出的任意十个数的和,不用break
# 数字求和 n=input("请输入10个数").split() it=list(map(lambda x: int(x) , n)) r=0 for i in it: r+=i print(r)
望采纳,谢谢