Python simple loop of averages only returns first item
Python simple loop of averages only returns first item Question: I wrote a code to calculate an average, but it takes only the first item in the list. I want to input a list of key=value and it should add all the values and then divide by the total number, so it gives me the …