Answers for "iterate over list and select 2 values together python"

0

iterate over list and select 2 values together python

>>> 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.09
669258.61 6117664.39
669258.05 6117665.08
Posted by: Guest on April-13-2021

Code answers related to "iterate over list and select 2 values together python"

Python Answers by Framework

Browse Popular Code Answers by Language