Python is a interpreted language then why is not working like that?

Hello,

I have written this code explaining the identifiers/variables and how their names can start and not.

So, When I ran this code print(_ABC)'s output has not been shown rather directly the error Is seen. Python is a language that executes line by line so shouldn’t it produce the result of _ABC variable and then show me the error as explained in the previous video

Thank You!