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 docs.python.org #
PREVIOUS
NEXT
Tagged:
#create
#loop
#python
ADD COMMENT
Topic
COMMENT
Name
9+5 =
Submit