I have a set of strings set1, and all the strings in set1 have a two specific substrings which I don\'t need and want to remove. Sample Input
set1
# practices 2 str = "Amin Is A Good Programmer" new_set = str.replace('Good', '') print(new_set) print : Amin Is A Programmer