Mega Code Archive

 
Categories / Python Tutorial / Tuple
 

Joining their elements together

s = 'first' s = s + ' second' print s t = ('third', 'fourth') print t t = t + ('fifth', 'sixth') print t