Mega Code Archive
Categories
/
Python Tutorial
/
String
Split lines
paragraph = "This is a simple paragraph.\n\ It is made up of of multiple\n\ lines of text." print paragraph.splitlines(1)