In [57]: name = ('Tome','Rick','Stephon')
In [58]: age = (45,23,55)
In [59]: for a,n in zip (name,age):
....: print a,n
....:
Tome 45
Rick 23
Stephon 55
In [60]:
本文转自健哥的数据花园博客园博客,原文链接:http://www.cnblogs.com/gaojian/p/7588106.html,如需转载请自行联系原作者