import csv
with open(r'c:\tmp\elcand.csv',encoding='UTF-8') as f:
    l = []
    allcsvdata=csv.reader(f)
    for x in list(allcsvdata):
        y=x[14]
        if y == '*':
            l.append(99-int(x[9]))
    print(sum(l)/len(l))
1e81200f2e63510debe0ce3de13e0104b3d78bda
<mask token>

<mask token>
with open('c:\\tmp\\elcand.csv', encoding='UTF-8') as f:
    l = []
    allcsvdata = csv.reader(f)
    for x in list(allcsvdata):
        y = x[14]
        if y == '*':
            l.append(99 - int(x[9]))
    print(sum(l) / len(l))

import csv
with open('c:\\tmp\\elcand.csv', encoding='UTF-8') as f:
    l = []
    allcsvdata = csv.reader(f)
    for x in list(allcsvdata):
        y = x[14]
        if y == '*':
            l.append(99 - int(x[9]))
    print(sum(l) / len(l))

import csv
with open(r'c:\tmp\elcand.csv',encoding='UTF-8') as f:
    l = []
    allcsvdata=csv.reader(f)
    for x in list(allcsvdata):
        y=x[14]
        if y == '*':
            l.append(99-int(x[9]))
    print(sum(l)/len(l))