您可以使用迭代器:
>>> lis = (669256.02, 6117662.09, 669258.61, 6117664.39, 669258.05, 6117665.08)>>> it = iter(lis)>>> for x in it:... print (x, next(it))... 669256.02 6117662.09669258.61 6117664.39669258.05 6117665.08
欢迎分享,转载请注明来源:内存溢出
您可以使用迭代器:
>>> lis = (669256.02, 6117662.09, 669258.61, 6117664.39, 669258.05, 6117665.08)>>> it = iter(lis)>>> for x in it:... print (x, next(it))... 669256.02 6117662.09669258.61 6117664.39669258.05 6117665.08
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)