words ['the','cat','sat','on','the','mat'counts {for word in wordsif word in countscounts[word+ elsedo something need to add the key so we have to test to see if the word is already in the dictionary to increment it if it is there and to do something else if it is not note how we use the "if key in dictionarytest