When trying to figure out number 6 after doing research, I learned about sets. Using an two lists containing the characters of the words, a new set is created only using common elements from the two lists. This streamlines the process of comparing the two words and outputting common letters.

