In python, are strings mutable? The line someString[3] = \"a\" throws the error
someString[3] = \"a\"
TypeError: \'str\' object does not support item assig
Python strings are immutable, which means that they do not support item or slice assignment. You'll have to build a new string using i.e. someString[:3] + 'a' + someString[4:] or some other suitable approach.
someString[:3] + 'a' + someString[4:]