封包例子:
def bar(a,b):
a,b=b,a
return(a,b)
解包例子:
lst = [1,2]
a,b = lst
或者可以这样(python3)
lst = list(range(0,9))
a = 0
b = [1,2,...,9]