摘要: # python3.6.8x, y = (1, 2)print(x, y) # 1 2x, y = (1, 2, 3)print(x, y) # ValueError: too many values to unpack (expected 2)x, *y = (1, 2, 3)print(x, y 阅读全文
posted @ 2021-03-31 09:58 shulongshuyue 阅读(97) 评论(0) 推荐(0) 编辑