print("Enter N:")
n = int(input())
sum = 0
print("Enter cost of items: ")
cost = [int(i) for i in input().split()]
for i in range(n):
sum+= cost[i]
print(sum)
"assignmentexpert.com" is professional group of people in Math subjects! They did assignments in very high level of mathematical modelling in the best quality. Thanks a lot
Comments
Leave a comment