Wick's Block Isle · Lesson 2

Build a Wall

Use for to repeat code

Watch

3 lines build a wall 5 blocks long. Watch the i above your character.

for i in range(5):
    place("stone")
    move("right")

Guess

The same code. It pauses after two rounds: predict, then check.

Change

The wall must reach the flag: 8 blocks. Change one number.

Make

Follow the dotted blocks: an L-shaped wall, 4 to the right, then 3 down.

for i in range(4):
    place("stone")
    move("right")