So this is my first list:
listone = [
'Every day Miss Leeson went out to work',
' At night she brought home papers with handwriting on them and made copies with her typewriter',
' Sometimes she had no work at night, and then she would sit on the steps of the high stoop with the other roomers',
' Miss Leeson was not intended for a sky-light room when the plans were drawn for her creation',
' She was gay-hearted and full of tender, whimsical fancies',
' Once she let Mr',
' Skidder read to her three acts of his great (unpublished) comedy, "It'
]
In this list every sentence is an element, i would like to make every sentence a sublist, or only parts of the sentence a sublist, for example:
listtwo = [['Every','Miss','work'], ['At', 'she', 'with'] etc.]
The words in the sublists were chosen are random, i already have a filtering function to use for that.
Thanks you for the help!
[s.split() for s in listone]