Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

check how many letters in a string python

#use the built in function len()

len("hello")

#or you can count the characters in a string variable

a = "word"
len(a)
 
PREVIOUS NEXT
Tagged: #check #letters #string #python
ADD COMMENT
Topic
Name
2+7 =