36 lines
721 B
Markdown
36 lines
721 B
Markdown
# lucky 7 blocks quiz answers
|
|
|
|
Show a number on the micro:bit.
|
|
|
|
This is the answer key for the [lucky 7 quiz](/microbit/lessons/lucky-7/quiz).
|
|
|
|
## 1. Describe what `show number` does?
|
|
|
|
Answers may vary. This will show a number on the LED screen, one digit at a time (scrolling from left to right).
|
|
|
|
## 2. Draw every LED that is ON after running this code
|
|
|
|
```blocks
|
|
basic.showNumber(7)
|
|
```
|
|
|
|
|
|
![](/static/mb/lessons/lucky-7-0.png)
|
|
|
|
## 3. Draw every LED that is ON after running this code
|
|
|
|
|
|
```blocks
|
|
basic.showNumber(21)
|
|
```
|
|
|
|
![](/static/mb/lessons/lucky-7-1.png)
|
|
|
|
## 4. Write the code that will be used to display the number 3 on the micro:bit.
|
|
|
|
![](/static/mb/lessons/lucky-7-2.png)
|
|
|
|
```blocks
|
|
basic.showNumber(3)
|
|
```
|