Practice question from Python Introduction

Which command starts the Python interactive interpreter? A. python-interpreter B. python C. start-python D. py-shell E. repl

Answer

B

Explanation

The 'python' command (or 'python3' on some systems) starts the Python interactive interpreter (REPL), where you can execute code line by line.

More questions from Python Programming