I have a list in python and i need to write the output to csv. list is :
>>>final_name[0]
[['Serbs'], ['Joachim RA'], [''], ['Mr RA'], [''], ['Albanian'], ['Boris Tadic', 'Serbia']]
>>> final_name[1]
[['Philippine', 'Gloria Macapagal Arroyo', 'Mitag'], ['Anthony Golez'], ['Golez'], [''], ['Golez'], ['']]
I need the output in csv as:
1 Serbs,Joachim RA,Mr RA,Albanian,...
2 Philippine,Gloria Macapagal,...
I have tried everything, by converting to string,etc...but i am not able to get it done..
How could this be done. thank you