About 182,000 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. 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.

  4. Build a Pin Extractor - Step 17 - Python - The freeCodeCamp Forum

    Nov 25, 2025 · Tell us what’s happening: Aloha, You absolute Legends of the freeCodeCamp community! 😃 I’ve been racking my brain for 2 hours at this point trying to complete the 17th step, but …

  5. 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].

  6. 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 …

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

    Nov 27, 2024 · Learn String Manipulation by Building a Cipher - Step 68 Python joythecoder November 27, 2024, 8:53am 1

  8. Build an RPG Character - Python - The freeCodeCamp Forum

    Jan 4, 2026 · Tell us what’s happening: in Build an RPG Character although output is coming but still still step 11 and 12 showing wrong. it showing step 11 and 12 are wrong. my code is as follows full_dot = …

  9. Build an RPG Character - Python - The freeCodeCamp Forum

    Nov 20, 2025 · Tell us what’s happening: I am stuck on verifying the length of character name I know that the len() function checks a variable string and outputs the number of characters in the variable …

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

    May 16, 2024 · Tell us what’s happening: Can’t resolve this task, i can’t see nothing wrong with it? Please advise ? Step 49 A function declaration starts with the def keyword followed by the function …