Answer:
See explaination for the program code
Step-by-step explanation:
The Programming code:
inFile = open("stuff.txt", "r")
num = []
Sum = 0
for val in inFile.readlines():
value = val.split(",")
Sum = Sum + int(value[1])
print("Sum of second number on every line in the file is: ", Sum)
inFile.close()
Please kindly check attachment for output