Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to get the length of a string in python stack overflow

>>> s = 'please answer my question'
>>> len(s)  # number of characters in s
25
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #length #string #python #stack #overflow
ADD COMMENT
Topic
Name
8+7 =