0

What does len() do

Malarvizhi M Posted new comment June 3, 2023
User Avatar

len() is an inbuilt function used to calculate the length of sequences like list, python string, and array.

my _list=[1,2,3,4,5]
len(my_list)