Built-in function len() returns the length of a string : String Length « String « Python
- Python
- String
- String Length
Built-in function len() returns the length of a string

s = 'supercalifragilisticexpialidocious'
print len(s)
Related examples in the same category