Skip to content

Instantly share code, notes, and snippets.

View ychaouche's full-sized avatar

Yassine Chaouche ychaouche

View GitHub Profile
# open csv file
file = open("X.csv")
fileReader = csv.reader(file)
# sum score
for row in fileReader[9:89]:
# sum scores for rows 10 to 90 in columns 2 and 3
score1 += int(row[1])
score2 += int(row[2])