exclusive_letters(word_a, word_b) returning a sorted list of the distinct letters that appear in word_a but not in word_b. Comparison is case-insensitive; output lowercase.exclusive_letters('Machine', 'chain')['e', 'm']
m and e are in 'machine' but not 'chain'.
Strings are iterables of characters — sets accept them directly.
Use set difference then sorted().