Lesson 3
Unit 9.3 Coding and testing: Game development for the micro:bit Slide 1
Arrays and the micro:bit
1. numbers = [1, 34, 54, 12, 678]
2. number = 23
3. colours = ["red", "yellow", "green"]
4. colour = "red"
Lesson 3
Unit 9.3 Coding and testing: Game development for the micro:bit Slide 2
Arrays and the micro:bit
1. numbers = [1, 34, 54, 12, 678] ARRAY
2. number = 23 VARIABLE
3. colours = ["red", "yellow", "green"] ARRAY
4. colour = "red“ VARIABLE
Lesson 4
Unit 9.3 Coding and testing: Game development for the micro:bit Slide 3
Count-controlled loops and
the micro:bit
Lesson 4
Unit 9.3 Coding and testing: Game development for the micro:bit Slide 4
Count-controlled loops and
the micro:bit
Lesson 5
Unit 9.3 Coding and testing: Game development for the micro:bit Slide 5
Creating a musical output
Lesson 7
Unit 9.3 Coding and testing: Game development for the micro:bit Slide 6
Go further
in
numbers
for range
:
]
(2)
i
[
=
1, 4, 7, 3, 9
Lesson 7
Unit 9.3 Coding and testing: Game development for the micro:bit Slide 7
Go further
for i in range (2) :
numbers = [ 1, 4, 7, 3, 9 ]