not connected
Build compiles this Python (from whale import …) and uploads it. No print, no strings — use display_digital_tube instead.
Edit C here and build it directly, or press Take C from Python to translate your current Blocks/Python program into editable C.

Motors

Range -100..100, 0 = stop. The motor keeps running until you stop it or upload a program.

Sensors

The controller only reports infrared and touch live over USB. Other sensors can be read inside a running program (see the Help tab).

Click a function to insert its call into the Python tab. Everything you can import from whale is listed here.