Get Length of the Given String using Python

len function

text = 'Hello'
length = len(text)

print(length)

Leave a Comment

Cancel reply

Your email address will not be published.