How to Find the Length of a List in Python

Posted by linuxize on Sep 28, 2020 12:36 AM EDT
Linuxize.com
Mail this story
Print this story

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

  Nav
» Read more about: Story Type: Tutorial; Groups: Python

« Return to the newswire homepage

This topic does not have any threads posted yet!

You cannot post until you login.