Using str.join instead of concatination