🌱 Kids · Basic · Ages 7–10

Say hello. Store a name. Pick a path.

Print, numbers, words, and choices. Short lessons you can run in the browser. No install, no account.

  • 12 chapters
  • Ages 7–10
  • print · variables · if

Who this level is for

Kids who have never written code, or anyone who wants a gentler first path than the main Python tutorial.

Ages 7–10. That is a guide, not a gate. If the examples feel slow, open Intermediate. If they feel hard, stay here and run each sample in thePython editor.

What you will do

  • Make the computer say hello
  • Store a name in a box (a variable)
  • Ask a question and print the answer
  • Choose a path with if / else
  • Finish two tiny projects: Mad Libs and a number guess

Start with What Is Coding, then follow Next at the bottom of each page.

Real life — learn it faster

Each chapter ties the idea to something you already do: a backpack, a snack stall, a rainy window. Read the scene, run the code, then the syntax sticks.

Try this now

Copy into Try Python. Change the words. Run it.

Basic sample

print("Hello, explorer!")
name = "Sam"
print("Hi, " + name)

Chapter list

Twelve short chapters. Finish the two projects before Intermediate.

  1. 💡 What Is CodingCode is instructions a computer follows in order. You write them. Python runs them.Code · Python · Order
  2. 👋 Hello, WorldYour first program: print a line. Change the words. Run it again.print · Run · Editor
  3. 📣 Print and Talkprint() shows text. Quotes wrap words. You can print more than one line.print · Quotes · Lines
  4. 🔢 Numbers and MathAdd, subtract, multiply, divide. Python does the arithmetic. You choose the numbers.+ · - · *
  5. 🔤 Words and StringsA string is text in quotes. You can join words with + and print a sentence.Strings · Join · Quotes
  6. 📦 Boxes (Variables)A variable is a named box. Put a name or a number in it. Use it later.Names · Store · Reuse
  7. ❓ Ask a Questioninput() waits for a typed answer. Save it. Print it back.input · Ask · Reply
  8. 🔀 Yes or No (If)if and else pick a path. Compare two values. Print a different message.if · else · Compare
  9. 🔁 Repeat (Loops)A for loop repeats work. Count. Print a pattern. Stop when you are done.for · range · Repeat
  10. ⭐ Draw with CodePrint stars, triangles, and rows. Loops make pictures out of text.Patterns · Stars · Rows
  11. 📝 Project: Mad LibsAsk for words, then fill a silly story. print, input, and strings together.input · Story · Project
  12. 🎯 Project: Number GuessThe computer picks a number. You guess. if tells you too high or too low.if · Guess · Project

After this level

After the last chapter, continue to Intermediate. Same editor. Bigger ideas.

Back to Kids home if you want to switch levels.

FAQ: Kids Coding — Basic

Common questions about this page.

What is StudyGrid Kids?

StudyGrid Kids is a free coding path for children: Basic, Intermediate, and Advanced. Lessons use Python in the browser. No account and no install.

Should I run kids coding basic examples locally for better learning?

Yes. Use the browser editor on StudyGrid for a quick check, then Download the example and run it on your computer. Local runs show real errors and the real toolchain, which is one of the fastest ways to learn kids coding basic in this Kids Coding Python lesson (Kids Coding — Basic).

Which kids level should we start with?

Start at Basic if the child has never written code. Choose Intermediate if they can print, use variables, and write a simple if. Choose Advanced if they already use loops and lists.

Do kids need an account or an app?

No. Kids pages are public. Code runs in the Try Python editor at /try. We do not ask children for a name or an email.

What language do kids learn?

Python, with a first HTML page in Intermediate and Advanced. After Advanced, the main Python tutorial is the next step.

Is the kids coding track free?

Yes. The Kids home, the three levels, and the Python editor on StudyGrid (studygrid.in) are free.