Would appreciate if anyone could provide a short method to remove the repeated letters.
Let's say I have a list of strings ['APPLE', 'BANANA']. I want to remove the repeated letters in the list items and the output maintain original order as ['APLE', 'BAN']. These are for n items in the list.