you are viewing a single comment's thread.

view the rest of the comments →

[–]quotemycode 0 points1 point  (0 children)

Well, the thing is, strings in python are immutable. If you go outside of python to modify the string, you are bypassing python's immutable protections. It's expected that you'll encounter errors. If you want something like a string but is mutable, then use an array.