Back to Browse

Python on the micro:bit - If-Then Statements

87 views
Feb 18, 2026
5:05

This video introduces if-then-else statements in Python on the micro:bit, showing how to define both outcomes of a decision inside a loop. I use an example in MakeCode Blocks and you can access that at https://makecode.microbit.org/S90817-05307-71752-01652 . I translate it into Python using online version available at https://python.microbit.org/v/3 .

Download

1 formats

Video Formats

360pmp44.5 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

Python on the micro:bit - If-Then Statements | NatokHD