7
क्यों "वापसी सूची। एसओआरटी ()" कोई नहीं, सूची नहीं?
मैं यह सत्यापित करने में सक्षम हूं कि findUniqueWordsपरिणाम एक क्रमबद्ध है list। हालांकि, यह सूची वापस नहीं करता है। क्यों? def findUniqueWords(theList): newList = [] words = [] # Read a line at a time for item in theList: # Remove any punctuation from the line cleaned = cleanUp(item) …