This video explains how to use the A and B buttons on the micro:bit using both the MakeCode and Python Editors.