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

1 Answer

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

>>> some_string = 'madanswer'

>>> len(some_string)

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