Python list len()

Here I’ll tell you about python list len() built-in function. It returns the size or length of the list. You can say, It simply returns, how much elements or items exist in list.

Syntax:

 

Parameter:

It takes one parameter which represent the name of the list.

 

Check the examples below to understand

 

Example 1

In this example you, how len() function returns the length of the python list

Output/Results

 

 

Example 2

Output/Results

 

Python list

Python Lists