Python Programming Language

Strings in Python

Definiton : Strings are the record of textual information as well as arbitrary collections of bytes.

Different function of Strings :

len function and Indexing :

- len function fetch it's components with indexing expressions.

Example of len function and Indexing :

Example of len function and indexing in Python

String Concatenation :

- String Concatenation is used for the merge the two different string.

String Concatenation in Python
Here in your mind Question is arised Why String is not changed after Concatenation ?

- Here one more topic is introduced for answer of your Question. Topic is Immutability

Immutability :

- Immutability means the unchanged. String is also immutable there fore at the concatenation time not changed the string.