Str.join in string concatenates the two string with separator. As shown in image a and b are two string when a.join is performed the separator is a when b.join is performed separator is b i.e result will be separated by element in string b.

How to write str.join in python
1 Join in String

 

By SC

One thought on “Str.join”

Leave a Reply

Your email address will not be published. Required fields are marked *