About 2,260,000 results
Open links in new tab
  1. Using the len () Function in Python

    The len() function in Python is a powerful and efficient tool used to determine the number of items in objects, such as sequences or collections. You can use len() with various data types, …

  2. Python len () Function - W3Schools

    Definition and Usage The len() function returns the number of items in an object. When the object is a string, the len() function returns the number of characters in the string.

  3. Python len() Function - GeeksforGeeks

    Jul 23, 2025 · The len () function in Python is used to get the number of items in an object. It is most commonly used with strings, lists, tuples, dictionaries and other iterable or container types.

  4. Python | Built-in Functions | len() | Codecademy

    May 23, 2022 · The len() function returns the number of items in an object. It is one of Python’s most commonly used built-in functions that calculates the length or size of various data types …

  5. Python len()

    In this tutorial, you will learn how to use the Python len () function to get the number of items of an object.

  6. Mastering the len () Function: A Python Expert‘s Guide to ...

    May 25, 2025 · The len() function is a crucial tool in the Python programmer‘s arsenal. It allows you to quickly determine the length or the number of elements in a given object, such as a list, …

  7. Understanding `len ()` in Python - CodeRivers

    Feb 8, 2025 · The len() function in Python is a simple yet powerful tool that every Python developer should be familiar with. It provides an easy way to determine the size of various …