Answers for "python get the size of a string"

3

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
Posted by: Guest on December-29-2020

Code answers related to "python get the size of a string"

Python Answers by Framework

Browse Popular Code Answers by Language