This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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]) |