python repl loop

Solutions on MaxInterview for python repl loop by the best coders in the world

showing results for - "python repl loop"
Andromeda
21 Jun 2020
1# Simple Python REPL loop
2# as in Lisp and Scheme 
3
4while True:
5    s = input('--> ').strip()
6    print("echo input: ", s)
7    if (s == "quit"): 
8        quit()
similar questions
queries leading to this page
python repl loop