Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

enumerate and looping backward

 for i, x in enumerate(range(10, 0, -1)):
        print((i, x))
Source by www.techiedelight.com #
 
PREVIOUS NEXT
Tagged: #enumerate #looping
ADD COMMENT
Topic
Name
1+9 =