Wednesday, July 8, 2015

Addition of n numbers



numbers=[]
sum=0

print "How many inputs do you want"
n = input()

for i in range (0,n):
 print "Enter number"
 a=input()
 numbers.append(a)

 sum = sum + a