Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python iterate list

lst = [12, 123, 1234, 12345]
for i in lst:
  print(i)
**********************result*********************
12
123
1234
12345
Source by www.geeksforgeeks.org #
 
PREVIOUS NEXT
Tagged: #python #iterate #list
ADD COMMENT
Topic
Name
8+8 =