computer
profile

Michael Morar

@michaelmorar

6

FOLLOWERS

2

FOLLOWING

Answer

Split by coma the content of python list embedded in list

I need help in splitting by coma a content of a list that is inside a list, basically I have such data

[['Department of Computer Languages and Computing Sciences, University of Málaga, Málaga, Spain'],
 ['Poste Italiane - Information Technology, Research and Development - R and D Center, Piazza Matteotti 3, 80133 Naples, Italy'],
 ['Department of Computer and Information Science, University of Macau, Macau',
  'Mathematics and Scientific Computing, National Physical Laboratory, Teddington, London TW11 0LW, United Kingdom',
  'Department of Computer Science and Engineering, C. V. Raman College of Engineering, Bhubaneswar 752054, India']]

And I want this outcome

[[['Department of Computer Languages and Computing Sciences',
   'University of Málaga',
   'Málaga',
   'Spain']],
 [['Poste Italiane - Information Technology',
   'Research and Development - R and D Center',
   'Piazza Matteotti 3',
   '80133 Naples',
   'Italy']],
 [['Department of Computer and Information Science',
   'University of Macau',
   'Macau'],
  ['Mathematics and Scientific Computing',
   'National Physical Laboratory',
   'Teddington',
   'London TW11 0LW',
   'United Kingdom'],
  ['Department of Computer Science and Engineering',
   'C. V. Raman College of Engineering',
   'Bhubaneswar 752054',
   'India']]]
test-img

@