58,600 results
Open links in new tab
  1. 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 …Read more

  2. Using the len () Function in Python – Real Python

    Nov 16, 2024 · In this tutorial, you'll learn how and when to use the len () Python function. You'll also learn how to customize your …Read more

  3. Python len() Function - GeeksforGeeks

    Jul 1, 2026 · len () function returns the number of items present in an object. It can be used with strings, lists, tuples, dictionaries, …Read more

  4. len () Function in Python (With Examples)

    Oct 10, 2026 · Every output here comes from Python 3.12.5 in the Windows Command Prompt, with sample data built around US …Read more

  5. len () | Python’s Built-in Functions – Real Python

    In this tutorial, you'll learn how and when to use the len () Python function. You'll also learn how to customize your class definitions …Read more

  6. Python len(): A Quick Guide to Counting Elements in Python

    Jun 23, 2025 · Learn how to use Python len () to count elements in strings, lists, and more. See examples, common errors, and how …Read more

  7. Python __len__ () magic method - GeeksforGeeks

    Jul 23, 2025 · Python __len__ is one of the various magic methods in Python programming language, it is basically used to …Read more

  8. Beginner Python Tutorial 28 - len () Function - YouTube

    Apr 22, 2020 · Start your software dev career - https://calcur.tech/dev-fundamentals 💯 FREE Courses (100+ hours) - …Read more

  9. Python len () Function - Online Tutorials Library

    Passing a list to the len () function returns the number of items available in that list. The code below demonstrates how to get a total …Read more

  10. Python len ()

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