Why is this happening in Python?

This should not be like this. So I was basically learning [Accessing 2D lists] and then when I went to print class_name_test it gave me a SyntaxError on the print function when I wrote it the right way.
What i wrote:
What it gave me:
File “script.py”, line 2
SyntaxError: invalid syntax.
What’s going on?
Answer if you can please.

Is that all your code? Please post your formatted code.

Check out this helpful guide when posting questions: