def lorem_ipsum(num_sentences=None, num_paragraphs=None):
paragraphs = [<EOL>'<STR_LIT>',<EOL>'<STR_LIT>',<EOL>'<STR_LIT>',<EOL>'<STR_LIT>',<EOL>'<STR_LIT>',<EOL>'<STR_LIT>',<EOL>'<STR_LIT>',<EOL>'<STR_LIT>',<EOL>'<STR_LIT>',<EOL>'<STR_LIT>',<EOL>'<STR_LIT>',<EOL>'<STR_LIT>',<EOL>'<STR_LIT>',<EOL>'<STR_LIT>',<EOL>'<STR_LIT>',<EOL>'<STR_LIT>',<EOL>'<STR_LIT>',<EOL>'<STR_LIT>',<EOL>'<STR_LIT>',<EOL>'<STR_LIT>',<EOL>]<EOL>if num_paragraphs:<EOL><INDENT>paragraphs = paragraphs[:num_paragraphs]<EOL><DEDENT>text = '<STR_LIT>'.join(paragraphs)<EOL>sentences = text.split('<STR_LIT:.>')<EOL>if num_sentences:<EOL><INDENT>sentences = sentences[:num_sentences]<EOL><DEDENT>lorem = '<STR_LIT:.>'.join(sentences).strip()<EOL>if not lorem.endswith('<STR_LIT:.>'):<EOL><INDENT>lorem += '<STR_LIT:.>'<EOL><DEDENT>return lorem<EOL>
Return the given amount of "Lorem ipsum..." text.