How can i do this?

I don’t understand. im stuck beacuse i dont know about 2D dimensional lists. AND ITS TO HAAARRRDDD TO DO!!!:

last_semester_gradebook = [[“politics”, 80], [“latin”, 96], [“dance”, 97], [“architecture”, 65]]

Your code below:

subjects = [“physics”, “calclus”, “poetry”, “history”]
grades = [98, 97, 85, 88]
gradebook = [
[“physics”, 98],
[“calculus”, 97],
[“poetry”, 85],
[“history”, 88]
]
print(gradebook)
gradebook.append([“computer_science”, 100])
gradebook.append([“visual arts”, 93])
gradebook[-1]

here’s an example:

list2 = [
  ['a',  'b', 'c'],
  ['d',  'e', 'f'],
]

this is a list of lists, which is a 2D list.
If I wanted to access 'b', that’s in the first list (so index 0 within list2),
and ‘b’ is the second thing in the inner list, (so index 1),
so I would do
list2[0][1] to get the 'b'

If, in the last list, I wanted the last item.
I would do
list2[-1][-1]
beacuse
list2[-1] gets you the last list
and another [-1] gets you the last item of that list.

So you’d use

gradebook[-1][-1]

to get that 88
because its in the last list (within gradebook), and its the last item of that list.

Also, check your code for any spelling errors.
"calclus"
"computer_science"