Fixing Typeerror In Python Str Object Does Not Support Item

Fixing Typeerror In Python Str Object Does Not Support Item