print("Enter N:")
n = int(input())
sum = 0print("Enter cost of items: ")
cost = [int(i) for i in input().split()]foriinrange(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