def show_first_and_last_lines(result):
lines = [line for line in result.split('<STR_LIT:\n>')]<EOL>if len(lines) < <NUM_LIT:11>:<EOL><INDENT>for line in lines:<EOL><INDENT>print(line)<EOL><DEDENT>return<EOL><DEDENT>print('<STR_LIT>')<EOL>for line in lines[:<NUM_LIT:5>]:<EOL><INDENT>print(line)<EOL><DEDENT>print('<STR_LIT>')<EOL>print('<STR_LIT>')<EOL>for line in lines[-<NUM_LIT:5>:]:<EOL><INDENT>print(line)<EOL><DEDENT>
Just print the first and last five lines of (pypi) output