KnowledgeBoat Logo
|

Robotics & Artificial Intelligence

The method used to count the number of characters in a string is …………… .

  1. length()
  2. len()
  3. count()
  4. None of these

Python String Manipulation

2 Likes

Answer

len()

Reasonlen() returns the total number of characters in a string (including spaces).

Answered By

1 Like


Related Questions