Skip to content

Playground

Real CPython, compiled to WebAssembly and running in this tab. The standard library is there, so collections, heapq, bisect and itertools all work, and dsa.helpers is preloaded for linked lists and trees.

Try:python loads on first run

Runs share state, so a name you define stays defined until you clear the session. Runs are cut off after 10 seconds, so an accidental infinite loop stops the code rather than the tab.