15. python解压序列

white Python 2018-10-08 31 次浏览 15. python解压序列已关闭评论
l=[3,4,5,3,6,7,34,2,46,75]
a,*_,c = l
print(a,c)


a = 1
b = 2
a,b = b,a
print(a,b)

 

回顶部