Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python array of tuples for loop

coordinates = [(0,0),(0,3),(1,0),(1,2),(1,3)]

for (i,j) in coordinates:
    print i,j
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #python #array #tuples #loop
ADD COMMENT
Topic
Name
1+2 =