The program below initializes a list with integers between two user-entered numbers. It should then traverse or iterate through the list, calculating the sum of all numbers in the list. The user input, list creation, and final print() statement are done for you. Take the following steps where shown by the comments.

Add a "for" loop with the "in" keyword to traverse the values list.
Inside the loop, add the current element value to the sum and store the result back in sum.
The following examples demonstrate the expected program output.

Enter starting list value: 1
Enter ending list value: 4
Sum of numbers from 1 to 4: 10
Enter starting list value: 10
Enter ending list value: 12
Sum of numbers from 10 to 12: 33
Enter starting list value: -5
Enter ending list value: 5
Sum of numbers from -5 to 5: 0

values = []
start = int(input("Enter starting list value: "))
end = int(input("Enter ending list value: "))

for i in range(start,end+1):
values.append(i)

sum = 0
#student code here


print("Sum of numbers from " + str(start) + " to " + str(end) + ": " + str(sum))

values = []

start = int(input("Enter starting list value: "))
end = int(input("Enter ending list value: "))

for i in range(start,end+1):
values.append(i)

sum = 0
for value in values:
sum += value

print("Sum of numbers from " + str(start) + " to " + str(end) + ": " + str(sum))