How to fix TypeError: 'str' object does not support item assignment. in Python

Published --