python 生成元组

#create a tuple
l = [(1,2), (3,4), (8,9)]
print(list(zip(*l)))
原文地址:https://www.cnblogs.com/sea-stream/p/9913504.html