Python Challenge Runner

loading Python…
Challenge:

Your code

Serve over HTTP (e.g., python -m http.server)—not file://. Worker loads pyodide.js then calls loadPyodide({ indexURL }). :contentReference[oaicite:1]{index=1}

Results

Public tests
Hidden tests
Runtime
Stdout

      
How this works
  1. Pyodide runs in a Blob Web Worker via importScripts + loadPyodide({ indexURL }). :contentReference[oaicite:2]{index=2}
  2. Results are converted to plain objects using toJs({ dict_converter: Object.fromEntries }) to avoid DataCloneError with Maps in postMessage. :contentReference[oaicite:3]{index=3}