Answers for "how to check how many letters and how many numbers are there in python"

1

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 "how to check how many letters and how many numbers are there in python"

Python Answers by Framework

Browse Popular Code Answers by Language