I can't see what the invalid syntax here is, any help would be appreciated.
if alpha == "alpha":
updatefile('Class 1 Results.csv',0,"1")
elif Class == "2":
with open('Class 2 Results.csv', 'a') as f:
file_writer = csv.writer(f, delimiter=',',lineterminator='\n')
file_writer.writerow((name, score))sortcsv('Class 2 Results.csv', 0)