in Python by
Q:
Can you please help to clarify what does the len() function do in Python Language?

1 Answer

0 votes
by
In Python Language, the len() is a primary string function. It determines the length of an input string.

>>> some_string = 'madanswer'

>>> len(some_string)

9
Click here to read more about Python
Click here to read more about Insurance

Related questions

0 votes
asked Aug 30, 2020 in Python by sharadyadav1986
0 votes
asked Aug 29, 2020 in Python by Robindeniel
...