输入:5246810输出:30注意输出没有提示用Python语言进行输入
收起
n = int(input()) res = list() for i in range(n): res.append(int(input())) print(sum(res))
报告相同问题?