I have a list of lists and I want to write it in csv file Example list:
data=[['serial', 'name', 'subject'],['1', 'atul','tpa'],['2', 'carl','CN'].......]
data[0] should be column names everything else is row wise data
Please suggest me a way to do this.