Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

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

string = "Hello World"
len(string) # number of characters in string
print(len(string)
      
result: 
11
 
PREVIOUS NEXT
Tagged: #length #string #python #stack #overflow
ADD COMMENT
Topic
Name
9+4 =