的返回鍵,如果我有一個單詞列表:的Python:字典
list_of_words = ['great','debate','stronger']
和字典:
dictionary = {'candidate1':['corruption','election'],'candidate2': ['lady','draintheswamp','stronger','debate'],'candidate3':['healthcare','oil']}
我要創建檢測單詞列表的製作功能。
在上面的例子:「候選設備Candidate2」是list_of_words
請不要輸入任何模塊的最有可能的生產商。效率不是這裏主要關心的問題。
爲什麼你不能導入任何模塊? –