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)
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.
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.
Children write Python 3 exactly as they will on a computer later. Tap-to-insert code pieces help small hands on the iPad.
Shelly runs the code. If something is wrong, she explains it in plain words and the line with the mistake lights up.
Shelly walks, turns and draws exactly what was written. Solve the level, collect up to three stars, and celebrate with confetti.
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.
A for loop repeats the moves, so four sides take three lines.
for i in range(4):
forward(100)
left(90)
Turn right(144) at each point and five lines make a star.
for i in range(5):
forward(150)
right(144)
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)
print, numbers and variablesfor loopsif and whiledefreturn, append and loops inside loopsVersion 1.1 grows Shelly Codes to 36 levels in 8 chapters.
Functions that return values, a shape maker that turns 360 / sides, loops inside loops, append, and a bug hunt with if.
Big pictures with everything kids know: a bullseye, a starry night, a snowflake, and a magic tree that draws itself.
Two new shells to unlock, making 8 in all, with 108 stars to collect. Shelly's Python also matches real Python in more places.
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.
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.
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 accounts, no analytics, no tracking. Progress and drawings stay on the iPad. Read the privacy policy.
The app makes no network connections. All levels and content ship inside the app.
Free, with no advertising and no in-app purchases. Nothing to buy and nothing to sign up for.
The Grown-ups area is behind a parental gate, so settings stay in grown-up hands.
In the Grown-ups area, unlock all levels for a class, or reset progress for a new learner.
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.
Open an issue at github.com/polyglot-learn/shelly-codes/issues.
Shelly Codes is open source under the MIT license.
A turtle who follows Python code. Free on the App Store for iPad.