Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

ring For in Loop

aList = 1:10    # create list contains numbers from 1 to 10
for x in aList  see x + nl  next  # print numbers from 1 to 10
Source by ring-lang.github.io #
 
PREVIOUS NEXT
Tagged: #ring #For #Loop
ADD COMMENT
Topic
Name
6+4 =