Further reading
You can find out more about buzzers, switches, and motor drivers for the Micro:bit’s implementation of MicroPython at https://microbit-micropython.readthedocs.io/en/latest/tutorials/buttons.html, https://microbit-micropython.readthedocs.io/en/latest/speech.html, and https://microbit-micropython.readthedocs.io/en/latest/music.html, respectively.