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

Language



Blog
Earn With Us

A

Anonymous

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


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


0
0




digital marketer | Posted on


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