Question: I have the following Makecode for the microbit. I want the code to play a song over and over if I press button A (

I have the following Makecode for the microbit. I want the code to play a song over and over if I press button A (until I press button B) and show a heart over and over if I press button B (until I press button A). Does this code accomplish that? If so, explain why. If not, propose a solution by changing the code below (either take a screenshot and modify it or redo the code at makecode.microbit.org)
 I have the following Makecode for the microbit. I want the

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!