Free iPad app for kids aged 8 to 12

Write real Python. Watch Shelly draw it.

Shelly Codes teaches children to program in Python, the real language grown-up programmers use every day. Kids type code, tap Run, and watch Shelly the turtle walk, turn and draw exactly what they wrote.

Coming soon Shelly Codes is coming to Android tablets.

On a computer? Point your iPad's camera at this code to open Shelly Codes on the App Store.

  • Free
  • No ads
  • No in-app purchases
  • No accounts
  • No tracking
  • Works offline
Shelly Codes on iPad: eight lines of Python with a color list and a for loop have drawn a rainbow spiral of red, orange, yellow, green, blue and purple lines on a black canvas.
How it works

Type it. Run it. See it.

36 short levels in 8 chapters, each one a small “aha!”. Shelly shows the shape to draw, and the child writes the Python that draws it.

  1. 1. Type real code

    Children write Python 3 exactly as they will on a computer later. Tap-to-insert code pieces help small hands on the iPad.

  2. 2. Tap Run

    Shelly runs the code. If something is wrong, she explains it in plain words and the line with the mistake lights up.

  3. 3. Watch Shelly draw

    Shelly walks, turns and draws exactly what was written. Solve the level, collect up to three stars, and celebrate with confetti.

What kids learn

Real Python, kid-sized

Shelly's drawings use the same commands as Python's turtle module. Kids start with forward(100) and left(90), and step by step build up to loops, lists and their own functions.

Loops

A square in three lines

A for loop repeats the moves, so four sides take three lines.

for i in range(4):
    forward(100)
    left(90)
Angles

Star Power

Turn right(144) at each point and five lines make a star.

for i in range(5):
    forward(150)
    right(144)
Free Draw

Rainbow Spiral

Lists, colors and a growing loop turn a few lines into art.

bgcolor("black")
colors = ["red", "orange",
          "yellow", "green",
          "blue", "purple"]
pensize(2)
for i in range(120):
    color(colors[i % 6])
    forward(i * 1.5)
    left(59)

8 chapters, from first steps to an art studio

  • Moving and turning
  • print, numbers and variables
  • for loops
  • Colors, pens, circles and fills
  • Lists, if and while
  • Their own functions with def
  • return, append and loops inside loops
  • An Art Studio of bigger pictures, ending with a magic tree
New in version 1.1

Two new chapters and two new shells

Version 1.1 grows Shelly Codes to 36 levels in 8 chapters.

  • Chapter 7: Shelly's Toolbox

    Functions that return values, a shape maker that turns 360 / sides, loops inside loops, append, and a bug hunt with if.

  • Chapter 8: Art Studio

    Big pictures with everything kids know: a bullseye, a starry night, a snowflake, and a magic tree that draws itself.

  • Coral and Midnight shells

    Two new shells to unlock, making 8 in all, with 108 stars to collect. Shelly's Python also matches real Python in more places.

Friendly mistakes

Mistakes are part of learning

Instead of scary error codes, Shelly explains what went wrong in plain words, on the line where it happened. Hints are there when you're stuck.

  • for i in range(4)

    Oops! Line 1 Add a colon : at the end of this for line.

  • forwrd(10)

    Oops! Line 1 Shelly doesn't know what forwrd means. Did you mean forward?

  • color("rd")

    Oops! Line 1 Shelly doesn't know the color "rd". Did you mean "red"? Try red, orange, yellow, green, blue, purple or pink.

The Loop Square level with a mistake. The first line, for i in range(4), is highlighted in red, and Shelly's speech bubble says: Oops! Line 1. Add a colon : at the end of this for line.
The line with the mistake lights up.
A look inside

Stars, shells and a free-draw studio

Up to three stars per level (solved, short code, no hints), 8 shells for Shelly to unlock with stars, and Free Draw for making spirals, starry skies, flowers and houses.

For parents and teachers

Made for families and classrooms

Shelly Codes is in the App Store's Kids Category. It is built to collect nothing and to work anywhere, with or without the internet.

  • No data collected, ever

    No accounts, no analytics, no tracking. Progress and drawings stay on the iPad. Read the privacy policy.

  • Works completely offline

    The app makes no network connections. All levels and content ship inside the app.

  • No ads, no purchases

    Free, with no advertising and no in-app purchases. Nothing to buy and nothing to sign up for.

  • Parental gate

    The Grown-ups area is behind a parental gate, so settings stay in grown-up hands.

  • Ready for the classroom

    In the Grown-ups area, unlock all levels for a class, or reset progress for a new learner.

  • Tested against real Python

    Kids write real Python 3, with the same commands as Python's turtle module. Before version 1.1, more than 12,000 random programs were run through Shelly and through real Python to check they give the same results.

    Shelly understands a kid-sized part of Python, and very big numbers stop with a friendly message.

Made for
Kids aged 8 to 12
App Store
Kids Category, ages 9–11
Device
iPad only (not iPhone), iPadOS 17 or later
Levels
36 in 8 chapters, plus Free Draw
Price
Free
Data collected
None
Support

Questions, bugs or ideas?

Open an issue at github.com/polyglot-learn/shelly-codes/issues.

Shelly Codes is open source under the MIT license.

Open an issue

Meet Shelly

A turtle who follows Python code. Free on the App Store for iPad, and coming soon to Android tablets.

Scan with your iPad's camera to download.