Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

count items in list python by loop

for count, item in enumerate(animals):
    print("Animal number", count + 1, "in the list is", item)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #count #items #list #python #loop
ADD COMMENT
Topic
Name
2+3 =