Answer: The micro:bit uses a microUSB cable to hook up to your computer or Chromebook. It is as simple as plugging the cable into your micro:bit and the other end into an open USB port. Once you plug your board in, you should see the small yellow LED on the back of your micro:bit light up and possibly blink a few times.
Explanation:
So go to makecode.microbit.org and create a new project. Go to Logic Block and choose If then Block then put it in the forever block. Now go to Input Block and choose "button A pressed" and place it inside the if block. Now go to Radio block and then choose radio send number and place it inside the block.