Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

foreach loop in python

# Python doesn't have a foreach statement per se. 
# It has for loops built into the language. 
# As a side note the for element in iterable syntax comes from 
# the ABC programming language, one of Python's influences
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #foreach #loop #python
ADD COMMENT
Topic
Name
1+3 =