DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
how to create a for loop in python
my_list
=
[
1
,
2
,
3
]
for
number
in
my_list
:
print
(
number
)
#outputs
#1
#2
#3
Source by localhost #
PREVIOUS
NEXT
Tagged:
#create
#loop
#python
ADD COMMENT
Topic
COMMENT
Name
7+9 =
Submit