Mega Code Archive

 
Categories / Python Tutorial / Introduction
 

Sequence Unpacking

x, y, z = 1, 2, 3  print x, y, z  x, y = y, x  print x, y, z