Question: what is the difference between python interpreter and shell?
Answer: The interpreter is what actually executes the lines of code. Therefore Python shell refers to the interactive use of it, and Python interpreter refers to the actual interpreter (that runs the code) alone, not the interactive shell interface. The interpreter is what actually executes the lines of code.