输入:第一行是整数n, n>= 1 后面有n行,每行一个整数 输出:输出后面那n个整数的和 样例输入 3 1 2 8 样例输出:11 代码: n = int(input()) t = 0 for i in range(n): t += int(input()) print(t)