Syntax :
len(string)
Parameters:
It takes a string as a parameter.
Return value:
It returns an integer which is the length of the string.
Below is the implementation of the len () method in Python.
|
Exit :
5 15
Syntax :
len(string)
Parameters:
It takes a string as a parameter.
Return value:
It returns an integer which is the length of the string.
Below is the implementation of the len () method in Python.
|
Exit :
5 15
Latest questions