DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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 stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#count
#number
#items
#list
#python
ADD COMMENT
Topic
COMMENT
Name
8+7 =
Submit