Linux News
The world is talking about GNU/Linux and Free/Open Source Software
How to Find the Length of a List in Python
Python has a built-in function len() that returns the length of a given object. The object can be a list , tuple, string, dictionary, etc. Lists are one of the most commonly used data types in Python and are used to store collections of items of the same type. This article shows how to find the length of a list.
|
|
Full Story |
This topic does not have any threads posted yet!
You cannot post until you login.