DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
python iterate through lists
list_1 = [1, 2, 3, 4] list_2 = ['a', 'b', 'c'] for i, j in zip(list_1, list_2): print(i, j)
Source by www.programiz.com #
PREVIOUS
NEXT
Tagged:
#python
#iterate
#lists
ADD COMMENT
Topic
COMMENT
Name
7+9 =
Submit