Answers for "python how to get number of strings in a list"

2

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)
Posted by: Guest on October-27-2021

Code answers related to "python how to get number of strings in a list"

Python Answers by Framework

Browse Popular Code Answers by Language