question archive Define a function named wordRank that accepts two arguments: a filename and a string
Subject:Computer SciencePrice:3.86 Bought11
Define a function named wordRank that accepts two arguments: a filename and a string. The function should return the frequency rank of the word that is passed in (1 for the most frequent word, 2 for the 2nd-most frequent word, etc). If the word is not in the file, wordRank should return False. (5 points)
Purchased 11 times