Why is the CPython interpreter not executing the previous statements if an EOL syntax error occurs in a later line? I thought that an interpreter is supposed to execute all the statements in a file one by one.
print("Hello World")
print("how are you')
# Why is the interpreter not executing the first line?
print("how are you")
orprint('how are you')
.