Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

count number items in list python

mylist = ["abc", "def", "ghi", "jkl", "mno", "pqr"]

print(len(mylist))

# output 6
Source by www.pythonprogramming.in #
 
PREVIOUS NEXT
Tagged: #count #number #items #list #python
ADD COMMENT
Topic
Name
7+2 =