Mega Code Archive

 
Categories / Python Tutorial / Introduction
 

Multiple Assignment

x = y = z = 1 print x print y print z x, y, z = 1, 2, 'a string' print x print y print z