← Back to homepage
Setting up the Python engine… just a moment.

💡 Edit the code however you like, then click ▶ Run, or press Ctrl/Cmd + Enter.

example.py ✏️ editable
Result output
▶ Click "Run" to see the result here.

🧩 Tap or drag blocks from the left onto the canvas. Set their values, then click ▶ Run Blocks, or send them to the editor to tweak as Python code.

👆 Now tap the canvas to place it

Variables

Input / Output

Compute

Loops

Conditions

Other

blocks_program.py
🧩 Tap or drag blocks here to start building your program.
👀 Python code preview auto-generated from your blocks
# Balokmu akan berubah jadi kode Python di sini...
Build, run, learn
Result output
▶ Click "Run Blocks" to see the result here.
Enjoy learning this way?

Explore more from us

This playground is free, built to help beginners understand Python in a fun way. If it helped you, explore our writing for more, or support us to keep these tools free for everyone. Thank you! ❤️