Ongeveer 3.720.000 resultaten
Koppelingen in nieuw tabblad openen
  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 returns the number of characters in the string.

  2. Using the len () Function in Python

    The len() function in Python returns the number of items in an object, such as strings, lists, or dictionaries. To get the length of a string in Python, you use len() with the string as an argument, like …

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

    23 jun. 2025 · Learn how to use Python len () to count elements in strings, lists, and more. See examples, common errors, and how to use len () with custom classes.

  4. Python len () Function - GeeksforGeeks

    23 jul. 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.

  5. Python len () Function - Programiz

    In this tutorial, we will learn about the Python len () function with the help of examples.

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

    23 mei 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 including …

  7. What is Len in Python and How Does It Work?

    26 okt. 2025 · Learn what the len function does in Python, how to use it with lists, strings, and objects. Explore syntax, meaning, and coding examples.

  8. Python len Function - Complete Guide - ZetCode

    11 apr. 2025 · Complete guide to Python's len function covering strings, lists, dictionaries, custom objects, and practical examples.

  9. Python len Function - Tutorial Gateway

    The len function is not only about returning object size, but you can also find the range length. In this example, we declare a range from 4 to 10 and return the total elements between that range.

  10. Python len (String, Tuple, List, Dictionary, Numbers)

    Python len () is a built-in function that enables you to measure to the length of various data structures like strings, lists, tuples, numbers etc.