Just to give this community a headstart. Do you know how exactly python interpreter works? What does it mean by python executing code line by line?
Reply to this message with your answer.
Python executing line by line means interpreter convert the code into machine code line by line...and throw an error if encounter . While in c or c++ entire program is compile at once not line by line.
That is partially correct, but do you think any conversion to machine code actually happens here? Or why do people think that python interpreter is converting it to machine code in real-time?