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 .