[ad_1]
Python strings are immutable. Any operation that appears to be changing a string’s length is actually returning a new string.
Definately not your third option — a string can start out arbitrary long but can’t later change it’s length. Your option 1 sounds closest.
You may find the Strings subsection of this web page helpful. Even in a language where strings can, in general, change length, that may not be true of all strings, depending on where they originate (e.g. code text) or how they are declared.
[ad_2]
solved string type in python language [closed]