Login
Remember
Register
Ask a Question
Can you please help to clarify what does the len() function do in Python Language?
0
votes
asked
Aug 29, 2020
in
Python
by
Robindeniel
Can you please help to clarify what does the len() function do in Python Language?
#python-len
#len-python
Python-questions-answers
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Aug 29, 2020
by
sharadyadav1986
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
...