Joining strings : String join : String PYTHON examples


PYTHON examples » String » String join »

 

Joining strings


Joining strings


list1 =  "A""B""C""D""E""F" ]
string2 = "___"

print "List is:", list1
print 'Joining with "%s": %s
   string2, string2.join list1 ) )
print 'Joining with "-.-":', "-.-".joinlist1 )


           
       



Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .


PYTHON examples

 Navioo String
» String join