Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to check how many items are in a list python

list_a = ["Hello", 2, 15, "World", 34]

number_of_elements = len(list_a)

print("Number of elements in the list: ", number_of_elements)
Source by stackabuse.com #
 
PREVIOUS NEXT
Tagged: #check #items #list #python
ADD COMMENT
Topic
Name
6+5 =