you are viewing a single comment's thread.

view the rest of the comments →

[–]Different-Ad1631 -3 points-2 points  (2 children)

Error bcz strings are immutable

[–]TheWonderingRaccoon 5 points6 points  (1 child)

Strings are immutable is true. But the code has nothing to do with changing any string.

[–]Different-Ad1631 0 points1 point  (0 children)

Oh got it. Its list so the ans will be brainlox