DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
python for loop with index
colors = ["red", "green", "blue", "purple"] for i in range(len(colors)): print(colors[i])
Source by treyhunner.com #
PREVIOUS
NEXT
Tagged:
#python
#loop
#index
ADD COMMENT
Topic
COMMENT
Name
9+1 =
Submit