简单的sequence unpacking

t = (1, 2, ‘hl’)

x, y, z = t

上述方法可用于任何sequence

posted on 2017-08-08 11:03  freshair_cn  阅读(187)  评论(0编辑  收藏  举报

导航