REPL

noun

say it: “REP-ul” /ˈrɛpəl/

Python's interactive prompt, where you type one line, press Enter and see the answer right away; the name stands for read, evaluate, print, loop.

What is the REPL?

The REPL is Python's interactive prompt: type a line, press Enter, and see the answer right away. It's perfect for trying things out. The name stands for Read, Evaluate, Print, Loop.

>>> 2 + 3
5
>>> "pizza".upper()
'PIZZA'

In a sentence

  • “She tried "pizza".upper() in the REPL before putting it in her program.”
  • “Typing python with no file name opens the REPL.”

Level: Novice · More Python terms at this level

Updated

In other subjects