Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

iterate list using loop

testList = ["Canada", "Japan", "London", "Germany", "Africa"]
  
for item in testList:
    print(item)
Source by www.pythonprogramming.in #
 
PREVIOUS NEXT
Tagged: #iterate #list #loop
ADD COMMENT
Topic
Name
4+4 =