At the end of this lesson, you will be able to:
understand and use nested loops
loops
Boolean expressions
review nested loops
review while loop flowchart
nil
click on provided link to create a new GitHub repo
call the repo: TEJ2O.1 ⇢ Unit2-15
create a program, using while loops, that:
if "A" button is pressed, the pixels moves around the edge of the Micro:bit
see example below
you MUST use a nested loop
these function might help:
sprite.move(1)
sprite.turn(Direction.Right, 90)
do the above assignment but in Python
Click the "A" button
Click the "A" button