p = (4,5) x,y = p print(x,y)
data = [‘ACME‘,"50",91.1,(2012,12,21)] name,shares,price,date = data print(name,shares,price,date)
data = [‘ACME‘,"50",91.1,(2012,12,21)] name,shares,price,(year,mon,day) = data print(name,shares,price,year,mon,day)
s="HELLO" a,b,c,d,e = s print(a,b,c,d,e)
data = [‘ACEM‘,50,91.1,(2012,12,21)] _,share,price,_ = data print(share,price)
原文:https://www.cnblogs.com/aliceleemuzi/p/10951295.html