Following are steps to display the temperature on micro:bit led
Click this link https://microbit.org/
Then click on official code editor Microsoft Make Code to do programming
Then click on New Project and give project name as Displaying Temperature then this window will display

4. create a variable name as temp and then place set temp block to temperature (degree calciols) on to forever block

5. If you have a micro:bit connected into laptop/pc/mobile using USB cable, Click on download button to transfer your code (hex file) and see the result
6. The result is shown below: the sensor will sense the temperature and display the temperature on led
//video.