Python Typeerror Nonetype Object Does Not Support Item Assignment

Python Typeerror Nonetype Object Does Not Support Item Assignment