row is a list of values that you can access by using indexing, like any other list.
To write only specific columns to the output file, replace
row with a new list containing the desired values:
for row in fileReader: fileWriter.writerow([row, row, row])
CLICK HERE to find out more related problems solutions.