1. Name a job
Try firstYou make a function, but never call it. What happens when the program runs?
Check your answer
Nothing from that function: its blocks only run when something calls it.
A function is a named job. Making it does not run it: a call block runs it, once per call.
One copy serves every call, so changing the function changes every place that calls it. Copied blocks have to be changed one by one.
Press Python in the editor: every event block is a function too. The micro:bit calls it for you each time the event happens.

Show as code
function flashHeart () {
basic.showIcon(IconNames.Heart)
basic.pause(200)
basic.clearScreen()
basic.pause(200)
}
input.onButtonPressed(Button.A, function () {
flashHeart()
flashHeart()
})














