SyntaxFix
Write A Post
Hire A Developer
Questions
There is a method specifically for this purpose:
data.splitlines() ['a,b,c', 'd,e,f', 'g,h,i', 'j,k,l']