Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python how to get number of strings in a list

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

number_of_elements = len(list_a)

print(number_of_elements)
Source by stackabuse.com #
 
PREVIOUS NEXT
Tagged: #python #number #strings #list
ADD COMMENT
Topic
Name
1+1 =