Posts

Showing posts with the label sum of given numbers

sum of given numbers

sum of given numbers        n=int(input())      c=0      l=[]      while(c<n):          l.append(int(input()))          c+=1      print(sum(l))