micropythonEasy Playground

Python for microcontrollers (ESP32, RP2040, STM32)

Getting started with micropythonRun locally
Install
Download from https://micropython.org
Python CodeRun locally
Expected Output
# Expected output shown below
# (Run locally with: micropython)

micropython is a third-party package. Python for microcontrollers (ESP32, RP2040, STM32). Install with: Download from https://micropython.org

Challenge

Try modifying the code above to explore different behaviors. Can you extend the example to handle a new use case?