AI engineering glossary · Python core

What is REPL?

REPL (also called interactive shell): The read-eval-print loop, an interactive prompt where you type Python code, see the result immediately and try ideas quickly. It is useful for testing small snippets and exploring libraries. Beginners use it to experiment, and it pairs well with the help() function for reading documentation.

Level: beginnerTopic: Python core

REPL: an example

Typing 2 + 3 at the >>> prompt prints 5 straight away.

Related terms

More Python core terms

Where you learn it

REPL is part of the AI Engineering Program, which teaches it with notes, a hands-on lab and an exam. The first lesson is free.

Before you go

Take the cheat sheet with you

One free PDF: the key AI-engineering terms, formulas and Python idioms. No spam; unsubscribe any time.