By Kevin McAleer, 4 Minutes
Page last updated November 20, 2026

You started by dragging a square into existence and finished by reading the Python for a game you built. Nice work.
| Blocks | Python |
|---|---|
| repeat 4 times | for _ in range(4): |
| forever | while True: |
| set size to 10 | size = 10 |
| if roll = 6 | if roll == 6: |
| toggle LED on GP15 | pin_15.toggle() |
| wait 400 milliseconds | time.sleep_ms(400) |
| set power of GP15 to 50 % | pwm_15.duty_u16(...) |
| buzzer on GP16 play 440 Hz for 200 ms | buzzer_16.tone(440, 200) |
| to polygon with: sides, size | def polygon(sides, size): |
| create list with | [262, 294, 330] |
You also know how to move between the two: hover a block, click a line, Show me the Python, and type in whichever pane suits you.
The Blocks canvas can be shown in any of the 80 languages Scratch offers, from Cymraeg to 简体中文. Go to Settings ▸ Appearance ▸ Language.
A language changes the words on the blocks and in the toolbox. It doesn’t change the program: the Python is identical in every language, so a program built in Deutsch opens unchanged in English.
Snakie’s own blocks, such as the hardware and turtle ones, are translated into German, French and Spanish so far. In other languages those show in English, alongside the translated standard blocks. The rest of the app’s menus are in English for now.
On the web you can also add ?lang=fr to the address to try a language for one visit.
https://app.snakie.org/?lang=cy opens Snakie with the blocks in that language for that visit, and saves nothing.py file, with no export step and no project folderSnakie also has its own short course built in: open Learn in the app and choose Blocks to Python. Each of its lessons opens with a working program ready to take apart, which makes a good warm-up or homework alongside this course.
You’re ready for:
This course is part of the Start with Snakie learning pathway. Courses on wiring circuits in the Electronics workspace and on Snakie’s instruments are on their way.
If you skipped it, Getting Started with Snakie covers the rest of the app: the REPL, finding your board, flashing MicroPython and managing files.
One last challenge. Pick any project from this course and rebuild it from the code side: start a new file in the split view, type the Python, and watch the blocks build themselves.
Quick quiz 1 of 3
What changes when you switch the blocks to another language?
Quick quiz 2 of 3
Which block writes while True:?
Quick quiz 3 of 3
What’s the best first lesson for a class with no hardware?
You can use the arrows ← → on your keyboard to navigate between lessons.
Comments