Question: i need help with problem 4 $ 5 . i did 1-3 . its a python programming class for starters , so please solve it

 i need help with problem 4 $ 5 . i did
1-3 . its a python programming class for starters , so please
i need help with problem 4 $ 5 . i did 1-3 . its a python programming class for starters , so please solve it as simple as possible and give seprate codes , dont loop them . thank you

For this test, you will write a program that performs some analysis of the novel Alice's Adventures in Wonderland by Lewis Carroll. First, please download the provided file alice.txt, which is the full text of the novel. Then, write a program called test2.py that reads the provided file and reports the following information about it: 1. The total number of words 2. The average number of words in a line (total number of words / total number of lines) 3. The line with the most words and the number of words in that line 4. The total number of lines in your Python source code 5. Provide an interface that allows the user enter a word to look up how many lines contain that word and to see up to the first ten such lines. If no lines contain that word, then your program must output Not found. ent-hd-424759441_1/courses/HTRO1 CSCI_13300_02_1212.1/at-home/Unitinstruction.html Total number of words: 26466 Average number of words in a line: 7.355753196220122 Longest line has 16 words: Alice was not a bit hurt, and she jumped up on to her feet in a Total number of lines in Python source code: 33 Enter word: Alice Alice was beginning to get very tired of sitting by her sister thought Alice without pictures or conversation?' There was nothing so VERY remarkable in that; nor did Alice POCKET, and looked at it, and then hurried on, Alice started to In another moment down went Alice after it, never once and then dipped suddenly down, so suddenly that Alice had not a 'Well!' thought Alice to herself. after such a fall as this, I you see, Alice had learnt several things of this sort in her or Longitude I've got to?' (Alice had no idea what Latitude was, Down, down, down. There was nothing else to do, so Alice soon 392 lines contain Alice

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!