What is the best way to find the length of a list in Python? - letsdiskuss
Official Letsdiskuss Logo
Official Letsdiskuss Logo

Language

Giggle And Bytes

A

Anonymous

B.A. (Journalism & Mass Communication) | Posted | Science-Technology


What is the best way to find the length of a list in Python?


0
0




digital marketer | Posted


You can get the period of a List in Python using len() function. Len() returns the quantity of factors found in handed sequence. For example:


Letsdiskuss


The output of this code will be:




0
0

Picture of the author