Instaed de: newlist = [] para Word no WordList: newList.append (word.upper ())

newlist = map(str.upper, wordlist)
Leif Georg