Playground

Pick a language and try an idea. Code runs in this tab, and each language keeps its own saved scratch pad in this browser.

Language

Each language keeps its own saved draft.

Scratch pad Python
# Change the text, then press Run. # Your edits are saved in this browser. from collections import Counter text = """the quick brown fox jumps over the lazy dog the quick brown fox is quick""" counts = Counter(text.split()) for word, count in counts.most_common(5): print(f"{word:8} {count}")

Using Python here

  • The Python runtime loads on first use and is cached by your browser.
  • input() waits for a response. Type in the input field and press Enter; EOF ends input.
  • Files you create live in the browser runtime, not on your computer. Threads, subprocesses and raw sockets are unavailable.
  • Your edits are stored on this device. Copy or download important work before clearing browser data.