A real Python REPL in the tab

CPython's own code.InteractiveConsole running here. input() genuinely blocks (WebAssembly JSPI), and %undo time-travels the heap to before your last statement.

try: name = input("who? ") try: x = 41 then: %undo %ls · %pwd · %cat
Booting CPython...
>>>