I have the following list of titles:
titles = ['Saw (US)', 'Saw (AU)', 'Dear Sally (SE)']
How would I get the following:
titles = ['Saw (US)', 'Dear Sally (SE)']
Basically, I need to remove the duplicate titles. It doesn't matter which territory shows, as long as it is on (i.e., I can remove any duplicate).
Here is what I have tried, unsuccessfully:
[title for title in localized_titles if title.split(' (')[0] not in localized_titles]