#NEWLINE# def replaceSubstrings( self , substrings , values ) : #NEWLINE# #INDENT# modifiedValues = [ ] #NEWLINE# for value in values : #NEWLINE# #INDENT# modifiedValue = value #NEWLINE# for ( toReplace , replaceWith ) in substrings : #NEWLINE# #INDENT# modifiedValue = modifiedValue . replace ( toReplace , replaceWith ) #NEWLINE# #UNINDENT# modifiedValues . append ( modifiedValue ) #NEWLINE# #UNINDENT# return modifiedValues