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

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