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
for
i
in
range
(
1
,
10
,
2
)
:
#(initial,final but not included,gap)
print
(
i
)
;
#output: 1,3,5,7,9
Source by www.pythontutorial.net #
PREVIOUS
NEXT
Tagged:
#python
#loop
ADD COMMENT
Topic
COMMENT
Name
1+2 =
Submit