demos  /  playground

Python playground

Preset snippets ported from Prescrypt's python-playground demo. There, the user's Python was transpiled to JavaScript by a server. Here, it runs in petitpy, compiled to WebAssembly, with no server.

Examples

    Python

    Output

    (Click "Run" to execute)