Hey all I am having trouble with the seventh step in the Project “Python Gradebook” in CS101. It is asking to amend a value by accessing and updating our two-dimensional list to change a grade value but I am getting the following error:
Traceback (most recent call last):
File “script.py”, line 10, in
gradebook = 98
TypeError: ‘tuple’ object does not support item assignment
I know when we zipped the two lists together to make a two-dimensional list we’ve generated a tuple which is immutable but the instructions are hinting at accessing the value in the list using the following format: gradebook[-1]. Are we supposed to ignore that and find a workaround or is there something I am missing here?