Idea Program Takes Name Text File Reads Line Line Read Whole Text Creates Output Shown Fre Q43794669

The idea of the program is that it takes in the name of a textfile and reads it over line by line. Once it has read through thewhole text, it creates the output as shown above where the mostfrequent characters are found, occurring in a specific amount oflines inside the file. Basically, I got some of the code started toget the file open. My idea was to get this program outputting inPython. Thank you!!
The output should look like: the most frequent characters in lines are: e’, i’, ‘t’, ‘o’ and ‘r’ 27 lines 20 lines 14 lines 9 lines 8 lines is most frequent in: i is most frequent in: is most frequent in: o is most frequent in: is most frequent in: Show transcribed image text The output should look like: the most frequent characters in lines are: e’, i’, ‘t’, ‘o’ and ‘r’ 27 lines 20 lines 14 lines 9 lines 8 lines is most frequent in: i is most frequent in: is most frequent in: o is most frequent in: is most frequent in:
Expert Answer
Answer to The idea of the program is that it takes in the name of a text file and reads it over line by line. Once it has read thr…
OR