In my country, we call that an interactive shell.
Fun fact, if you run Python from a command line, with no options, it defaults to such a shell.
Most scripting languages are designed to present a REPL (read-eval-print loop) in such a scenario.
Most scripting languages are designed to present a REPL (read-eval-print loop) in such a scenario.