Answered You can hire a professional tutor to get the answer.

QUESTION

use python write function highlight: This function takes two string arguments. The first is a filename and the second is a keyword to be searched for...

use python write function

highlight: This function takes two string arguments. The first 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(one line may have many keywords), print the

line number followed by a left justified in a field of width 5, followed by the line with every occurrence of the key word bracketed by '-->' on the left and '<--' on the right.

Show more
LEARN MORE EFFECTIVELY AND GET BETTER GRADES!
Ask a Question