DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
python for in range
# i start from 0 going to 4 "5 steps"
for
i
in
range
(
5
)
:
print
(
i
)
# output
0
1
2
3
4
Source by docs.python.org #
PREVIOUS
NEXT
Tagged:
#python
#range
ADD COMMENT
Topic
COMMENT
Name
5+2 =
Submit