Please enable JavaScript to use CodeHS

Python3 REPL

By Zach Galant

Co-Founder of CodeHS

What is a REPL?

A REPL stands for


Read

Evaluate

Print

Loop


This is a type of programming loop that lets you continuously repeat reading a line of code inputted by a user, evaluate that line, and print out the evaluation.


Using a REPL can be a quick way to test out simple code and see how it evaluates.


Click Run to test it out


You can learn more about a REPL on this Wikipedia page

https://en.wikipedia.org/wiki/Read%E2%80%93eval%E2%80%93print_loop