Your code runs entirely in your browser using Pyodide (CPython compiled to WebAssembly). Nothing is sent to a server, so it works offline and keeps your code private.
The playground runs a recent CPython 3.x build via Pyodide. The Python standard library is available, along with many popular packages (such as numpy) that Pyodide ships. Packages that require native OS access or networking may not work in the browser sandbox.
Use print() and anything you print shows up in the Console output panel. The final expression's value is shown in the Result panel.
Yes. Click Share to copy a URL that encodes your current code, so anyone who opens the link sees the same program.
Chat opens an AI assistant embedded in the playground. It can explain Python concepts, debug errors, and write code directly into the editor, then run it to check that it works.