I need to define a function that determines the matching letters between words and returns back as a integer : <p>I need to define a function that compares words which determines matching letters before printing a message to tell the user how many letters of the guessed word are correct. It also needs to return back to the program as an integer. The function should return the number of matching letters and should not print anything</p>

<p>I am unsure how to do this?</p>

<p>def compareWords(word1, word2):</p>
