Typo in Exercise: Strings and Dictionaries - 3. ?
Hi,
I think there is a typo in the python course: Strings and Dictionaries - exercise 3:
The proposed solution is not working:
def multi_word_search(documents, keywords):
keyword_to_indices = {}
for keyword in keywords:
keyword_to_indices[keyword] = word_search(documents, keyword)
return keyword_to_indices
'documents' should be 'doc_list'
Unfortunately I don't have the permission to create a new topic on Kaggle....
2
3 comments
Jürgen B
3
Typo in Exercise: Strings and Dictionaries - 3. ?
Data Alchemy
skool.com/data-alchemy
Your Community to Master the Fundamentals of Working with Data and AI — by Datalumina®
Leaderboard (30-day)
Powered by