0Pricing
Coding for Kids · Lesson

Many Shapes

Draw lots of shapes.

Draw Lots of Shapes! 🔺🟦⭐

One shape is fun, but LOTS of shapes is even better! 🎉

Today we'll learn how to draw many shapes without writing the same code over and over. Let's go! 🚀

import turtle

t = turtle.Turtle()
t.circle(40)

A Loop Repeats Things 🔁

Writing the same line 4 times is tiring! 😫

A loop lets us repeat code. for i in range(4): means 'do this 4 times!' 🔁

for i in range(4):
    print('Hello!')

All lessons in this course

  1. Turtle Colors
  2. Filling Shapes
  3. Many Shapes
  4. A Colorful Pattern
← Back to Coding for Kids