Code canvas

    Write and run Python, JavaScript, TypeScript or Java. Drafts are saved in this browser. For problems with tests, try the coding challenges.

    Runs in your browser (Python 3 via Pyodide).

    Output

    Run the code to see its output.