I am trying to allow the user to input their score next to the name of the person on a CSV file. So far, I have got the following which enables me to input names on a new line on the CSV but I cannot find how to create a new column. I am using Python 3.6.3
import csv
file = open ("test results.csv" , 'a')
name = input('enter your name: ')
file.write(name + "\n")
file.close()