برای بدست آوردن طول یک رشته، از تابع len() استفاده کنید.
len()
The len() function returns the length of a string: