Question: In process _ file: 1 . Comment out all the print statements only 2 . Above the for loop make two variables curr _ week

In process_file:
1. Comment out all the print statements only
2. Above the for loop make two variables
curr_week =0
words_per_week =[[],[],[],[],[],[],[],[],[],[],[]](this is your list of 11 lists)
3. Inside the for loop:
Inside the if(line[0:3]==URL):
add curr_week = get_week(line)
Inside the else
To find the list we need to append to we can do:
words_per_week[curr_week]
then we want to use the method .append() to append our .strip()ed and .lower()ed word
In main store the value of process_file and print it out. It will just look
like a print dump.

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 Programming Questions!