I\'ve been able to verify that the findUniqueWords does result in a sorted list. However, it does not return the list. Why?
findUniqueWords
list
def fin
The problem is here:
answer = newList.sort()
sort does not return the sorted list; rather, it sorts the list in place.
sort
Use:
answer = sorted(newList)