in Python by
Q:
Is A String Immutable Or Mutable In Python?

▼ Show 1 Answer

0 votes
by

Python strings are indeed immutable.

Let’s take an example. We have an “str” variable holding a string value. We can’t mutate the container, i.e., the string, but can modify what it contains that means the value of the variable.

Python
Learn More with Madanswer

Related questions

+1 vote
asked Jan 24, 2020 in JAVA by rahuljain1
...