Open project · after lesson 2: Lists of stars
Hold a turtle race: line up some turtles, move each one a random amount every turn, and stop when one crosses the finish line. Then say who won.

These light up when your code uses them. Click one to see where you learned it.
Tick each one when it is true of your project. Nobody marks it: be honest with yourself.
for i in range(4):
t = Turtle()
t.shape("turtle")
t.color(colours[i])
t.penup()
t.goto(-200, 90 - i * 60)
t.pendown()
t.pensize(4)
racers.append(t)for r in racers:
r.forward(random.randint(5, 20))winner = None
while winner == None:
for r in racers:
r.forward(random.randint(5, 20))
if r.xcor() > 180 and winner == None:
winner = rTick every milestone first.
You built it with: