list1 = [12500, 35000, 12000, 40000, 55000,60000]
print(sum(list1)/len(list1))
We take the sum of all the elements in the list and divide the sum by the quantity of the elements. You can put however many elements in this list and you'll always get the average using the algorithm above.