How to find the length of a string in Python

A string is a sequence of characters. The length of a string is the number of characters. For example, the length of “abc” is 3.

Solution for How to find the length of a string in Python : You can use len() to find the length of a string Call len(object) with object as the string to get its length.


how-to-find-the-length-of-a-string-in-python