DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
python loop through array step size 2
myList = [1,2,3,4,5,6] i = 0 while i < len(myList): print(myList[i]) i+=2
PREVIOUS
NEXT
Tagged:
#python
#loop
#array
#step
#size
ADD COMMENT
Topic
COMMENT
Name
2+4 =
Submit