DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
1+3 =
Submit