Question: highlight: This function takes two string arguments. The rst is a filename and the second is a keyword to be searched for in the file.

highlight: This function takes two string arguments. The rst is a filename and the second is a keyword to be searched for in the file. Whenever a line is found that contains the keyword, print the line number followed by a colon leftjustied in a field of width 5, followed by the line with every occurrence of the keyword bracketed by ' ->' on the left and '
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
