Answers for "python counting letters in a word"

1

pyton count number of character in a word

# Count number of characters in a string (word)
a = "some string"
print len(a)       # 11
Posted by: Guest on September-20-2020
0

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)
Posted by: Guest on April-09-2020

Code answers related to "python counting letters in a word"

Python Answers by Framework

Browse Popular Code Answers by Language