Solve problem "Sum of N numbers" online - Learn Python 3 - Snakify

Sum of N numbers


Statement

N numbers are given in the input. Read them and print their sum.

The first line of input contains the integer N, which is the number of integers to follow. Each of the next N lines contains one integer. Print the sum of these N integers.

Advertising by Google, may be based on your interests

In all the problems input the data using input() and print the result using print().