Question: Python Only # PROBLEM 5. Write a loop that sums the number of times that the # words in wordList occur in the list from
# PROBLEM 5. Write a loop that sums the number of times that the # words in wordList occur in the list from Problem 4. Hint 1: you # can use a list method to do the counting. Hint 2: lower case the # words in wordList. Between three and five lines of code. (It # depends on your coding style various styles are OK.) # PROBLEM 6. Calculate the ratio of the number from Problem 5 # to the number of words in text. Return this ratio. Between one # and three lines of code. (It depends on your coding style -- # various styles are OK.) # PROBLEM 7. Call litCricFriend() four times to find the frequency # of the indefinite articles 'a' and 'an' and the definite article
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
