Mega Code Archive

 
Categories / Python / String
 

String JOIN

print 'SPAM'.join(['eggs', 'sausage', 'ham', 'toast'])