Get the values of a specific row from a csv file and then place each of these values in an HTML form – index error message when I run my code

Solution
    data = []
    for row in reader:
        data.append(row)
        option_list1 = data[2],[1]
data = [  ] = [ [,,...] ]
        option_list1 = data[2],[1]