string = "Hello World" len(string) # number of characters in string print(len(string) result: 11
>>> s = 'please answer my question' >>> len(s) # number of characters in s 25