Multiple Assignment : Introduction : Introduction PYTHON TUTORIALS


PYTHON TUTORIALS » Introduction » Introduction »

 

Multiple Assignment


x = y = z = 1
print x
print y
print z

x, y, z = 12'a string'
print x
print y
print z



Leave a Comment / Note


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


PYTHON TUTORIALS

 Navioo Introduction
» Introduction