Run Python online — real CPython 3.11 → 3.15 (RC), no install, sandboxed per submission.
Python is the most-taught programming language in the world, the default for data science and AI, and the fastest way to sketch an idea into working code. If you are learning to code, this is where you start.
ls-judge runs real CPython — not a stripped-down browser Python — inside a Firecracker microVM (the same primitive AWS Lambda uses). You get the full stdlib, real file I/O, real subprocess, real everything. Pick your version: 3.11 for the LTS mainstream, 3.13 for improved error messages, 3.14 for the very latest.
Bring a single file, or use the multi-file panel to include your helper modules — they will be picked up on the same PYTHONPATH as the entry file.
Stdin from the Tests panel maps to sys.stdin. Verdicts (AC/WA/TLE/RE) stream back per test case over WebSocket, so watching a solution against 100 cases is immediate rather than "run and wait".
If your program is doing tight numerical loops and you want more speed, see /lang/pypy for the JIT-compiled sibling.
Clicking "Run now" opens the playground with this exact code and a matching test case pre-loaded — passes on first Run.
n = int(input())
print(n * 2)
21
42