in Python by (31.7k points)
What Is A String In Python?

1 Answer

0 votes
by (32.2k points)

A string in Python is a sequence of alpha-numeric characters. They are immutable objects. It means that they don’t allow modification once they get assigned a value. Python provides several methods, such as join(), replace(), or split() to alter strings. But none of these change the original object.

Related questions

0 votes
asked May 17, 2020 in Python by SakshiSharma (32.2k points)
0 votes
asked May 24, 2020 in Python by SakshiSharma (32.2k points)
0 votes
asked May 24, 2020 in Python by SakshiSharma (32.2k points)
...