About 50 results
Open links in new tab
  1. A Guide to the Python len function - len(x) examples

    Dec 23, 2025 · len () is a built-in function in Python 3. This method returns the length (the number of items) of an object. It takes one argument x . Arguments It takes one argument, x . This argument …

  2. Can someone help with the len function - Python - The freeCodeCamp …

    Dec 21, 2024 · len (text)-1 returns the total number of characters in the string you provided minus by 1, which is 10. Hence text [10], remember that a string is an array of characters, and that index starts …

  3. Question about len() in problem - Python - The freeCodeCamp Forum

    Jan 3, 2023 · I am working on a Python problem for an online course. I need to extract floats from a .txt file and find the average of them; however, when I print the length from the floats it gives me 7. The …

  4. Learn String Manipulation by Building a Cipher - Step 7 - Python - The ...

    Apr 5, 2025 · Tell us what’s happening: You can access the number of characters in a string with the built-in len () function. Modify your existing print () call by passing len (text) instead of text [-1].

  5. Matrix multiplication in pythonwithout numpy - Python - The ...

    Sep 20, 2020 · Python 2 is dead. The difference in versions isn’t ‘affecting matrix multiplication’; the difference in version is affecting the shape of the multiply indexed array.

  6. Learn String Manipulation by Building a Cipher - Step 63 - Python

    Dec 24, 2023 · Learn String Manipulation by Building a Cipher - Step 63 Python Brice December 24, 2023, 8:34pm 1

  7. Learn String Manipulation by Building a Cipher - Step 66 - Python

    May 17, 2024 · Tell us what’s happening: The instructions are to Call your function passing text and custom_key as the arguments. Store the return value of the function call in a variable called …

  8. Learn String Manipulation by Building a Cipher - Step 49 - Python

    Dec 26, 2023 · Learn String Manipulation by Building a Cipher - Step 49 Python ssdaymanq005 December 26, 2023, 11:17am 1

  9. Learn Regular Expressions by Building a Password Generator - Step 61

    Apr 24, 2024 · This step has been updated. I suggest you to clear the browser cache. The updated instructions are: Instead of using a loop and a counter variable, you can achieve the same result with …

  10. Learn Regular Expressions by Building a Password Generator - Step 57

    Oct 18, 2024 · Tell us what’s happening: What am I missing here? Check constraints for constraint, pattern in constraints: len (re.findall (pattern, password)) constraint <= len (re.findall (pattern, …