In Python .......... function returns the number of characters in string…
2024
In Python .......... function returns the number of characters in string argument.
Answer: B. Len — In Python, the built-in function len() returns the number of characters in a string (or elements in a collection). It computes the length of the sequence,…
- A.
Length
- B.
Len
- C.
L
- D.
Numchar
Attempted by 399 students.
Show answer & explanation
Correct answer: B
In Python, the built-in function len() returns the number of characters in a string (or elements in a collection).
It computes the length of the sequence, making it the correct choice.
Loading lesson…