Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

index in zip python

for index, (value1, value2) in enumerate(zip(data1, data2)):
    print(index, value1 + value2)  # for Python 2 use: `print index, value1 + value2` (no braces)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #index #zip #python
ADD COMMENT
Topic
Name
5+5 =