Can not run week 5 problem: TypeError: must be str, not list


TypeError Traceback (most recent call last)
in ()
4 output += pois[word]
5 else:
----> 6 output+= words
7 output += " "

TypeError: must be str, not list

The error is coming from the statement,
output+=words
Here, output is of type String, to which you are trying to append a list words.