Peru · Python for children · Ages 9 to 12

Python for kids in Peru, taught live in English

Python is a real programming language, the same one engineers use, and children of about nine can learn it if the lessons are built for them. For a child in Peru there is a bonus most parents do not expect: Python's own commands are English words, so a child who learns it in English learns one vocabulary instead of two. This page covers the right age to start, the English inside Python, what primaria does and does not teach, a first lesson you can run tonight, and how classes fit a Peruvian day.

Teaching live online since 2020 · 10,000+ students worldwide · every class live, online and in English

For parents in a hurry

Modern Age Coders teaches Python to children in Peru aged about 9 to 12 in live online classes in English. A mentor based in India teaches in real time, in a group of children the same age or one to one, at a time the family chooses in Peru time. Children type real Python from the start, through drawings, games, puzzles and small AI projects, and younger children begin with Scratch. Python's commands are English words, so the language of the lesson and the language of the code are the same.

Choose by age

Three first courses for children in Peru

Typed Python suits most children from about nine. Younger children, and those who are not yet comfortable on a keyboard, start with blocks.

The right age

What age can a child start learning Python?

Usually around nine, which in Peru is 4th grade of primaria. The deciding factor is not age on its own but three skills: reading a short instruction, typing without hunting for every key, and staying with a puzzle for ten minutes.

Ages 6 to 8

Blocks first. Scratch lets a child build stories and games by dragging pieces, with almost no typing. The ideas are the same ones Python uses (order, repetition, choices), so nothing learnt is wasted.

Ages 9 to 10

Most children are ready for typed Python here, especially with drawings, where every line of code makes something visible on screen. Short programs, a lot of trying, and quick wins.

Ages 11 to 12

Children of this age can handle longer programs, lists of data and their first small AI projects. Many go on to the teenage Python course at 13 with a year of real code behind them.

Peruvian school uses the same ages as a guide. MINEDU sets a "normative age" for each grade, measured on 31 March of the school year: a child of 6 on that date belongs in 1st of primaria, a child of 9 in 4th and a child of 11 in 6th. Primaria itself lasts six years under Ley 28044, the General Education Law, and its regulation says it serves children from the age of six.

If you are not sure, the free first class settles it. The mentor gives your child a small puzzle, watches how they read it, type and think, and then tells you honestly whether Python or blocks is the better place to begin. Families who would rather read in Spanish can see our curso de Python para niños page, and parents of younger children our guide to clases de programación para niños en inglés.

English inside Python

Is Python in English? Which English words will my child learn?

Yes. Python has 35 reserved words, the commands a program is built from, and every one is an English word or a short form of one. A child who learns Python in English meets each word once, with its everyday meaning and its programming meaning together.

Python's 35 reserved words, grouped by when our young learners usually meet them
When children meet them (our grouping)Reserved words in the Python Language ReferenceEveryday English behind them
First weeks: yes, no, nothingTrue, False, NoneTrue, false, none at all
First weeks: choicesif, elif, else, and, or, notIf, else if, otherwise, and, or, not
First month: repeatingfor, while, in, break, continue, passFor each, while, inside, stop, carry on, skip
First term: own commandsdef, return, import, from, asDefine, give back, bring in, from, as
Later: checking and errorstry, except, finally, raise, assert, isTry, except, at the end, raise, make sure, is
Later: bigger programsclass, lambda, global, nonlocal, del, with, yieldKind of thing, quick rule, everywhere, nearby, delete, together with, hand over
Teen years and beyondasync, awaitAt different times, wait for

Source: Python Software Foundation, The Python Language Reference, section 2.3.1 "Keywords", which lists the 35 reserved words and says they "must be spelled exactly as written here"; read on 9 November 2026. A few more words, such as match and case, are "soft keywords" that only act as commands in certain places. The grouping by learning stage and the plain-English column are ours.

Why this matters for a child in Peru

A child taught Python in Spanish still types while, if and return, because the language only understands English. The teacher says "mientras" and the screen says while, so the child learns two words for one idea and links neither to real English.

In our classes, the mentor says "while the score is less than ten" and the child types exactly that idea. The spoken word and the typed word are the same, and a few hundred repetitions later they are simply part of the child's English.

What a parent will notice

Children start reading error messages aloud, in English, and guessing what they mean. "Name is not defined" becomes a clue rather than a wall.

They also learn that spelling and capitals matter. True works and true does not, which the Language Reference makes plain: the words "must be spelled exactly". That kind of precision helps with English spelling too.

What primaria gives

Does primaria in Peru teach coding or enough English for this?

Primaria in Peru teaches no coding as a subject and, on paper, two or three English periods a week. Maths gets more time. Here is what the national plan of studies sets out, and what that means for a Python class.

Maths and English on the timetable

The CNEB, Peru's national curriculum, gives primaria 30 teaching periods of 45 minutes a week. Maths has 5 periods a week in grades 1 and 2 and 4 in grades 3 to 6, which works out by our arithmetic at 225 and 180 minutes. English has 2 periods in the first two grades and 3 after that, about 135 minutes a week from 3rd grade.

Even those English hours depend on the school. The CNEB says English in primaria is phased in depending on whether the school has hired English teachers, so some children meet much less English than the table promises, and children at bilingual schools meet far more.

And no coding subject

Nowhere in the primaria plan is there an area called computing or programming. Digital skills sit in a competency that every subject is supposed to share, about working in virtual environments, and it names no programming language.

That leaves a gap for children who are curious about how games and apps are made. A Python class fills it, and because the class is in English, it also adds an hour or two of English with a clear purpose: the program only runs if the instruction was understood.

Python classes are extra, never a replacement for school. When the 2026 school year opened on 16 March 2026, MINEDU counted 6,225,000 pupils in 53,631 schools of regular basic education; the national curriculum applies to all of them, and our classes sit alongside it in the hours the family chooses. Parents of ten year olds may also like our guide to programación para niños de 10 años.

A first lesson

What does a first Python lesson look like? A star pyramid

This is a lesson we teach to children of about 10 in their first weeks of Python. It uses a loop, which repeats a line of code, and asks the child to count carefully, which turns out to be the hard part.

The challenge

Draw a pyramid of stars four rows tall, with one star at the top and the rows getting wider. Most children start with Version 1: repeat four times, and each time print a row of stars as long as the row number.

They run it and see two surprises. The first line is empty, and the "pyramid" leans to one side like a staircase.

What went wrong

The empty line comes from range(height), which counts 0, 1, 2, 3. Python's documentation says that if you leave out where to start, it starts at 0, so the first row has zero stars. Counting from zero is one of the first things every programmer has to learn.

The leaning comes from forgetting the spaces. A pyramid needs empty space on the left of each row, and that space has to be counted too.

Version 1: a staircase with an empty first stepPython
height = 4
for row in range(height):
    print("*" * row)

It prints an empty line, then *, then **, then ***: four lines, but only three rows of stars.

Version 2: count from 1, add the spaces, keep a totalPython
height = 4
total = 0
for row in range(1, height + 1):
    spaces = " " * (height - row)
    stars = "*" * (2 * row - 1)
    print(spaces + stars)
    total = total + len(stars)
print("Stars used:", total)
print("Height times height:", height * height)

It prints a centred pyramid of 1, 3, 5 and 7 stars, then Stars used: 16 and Height times height: 16.

The last two lines are where the maths appears. One plus three plus five plus seven is sixteen, and so is four times four. We ask the child to change height to 5, then 6, and predict the total before running it each time. Most notice by the third try that the odd numbers always add up to a square, and some can explain why by drawing the pyramid as rings of stars. That is the moment a child stops copying code and starts thinking with it.

  1. Without a computer. Draw the pyramid on squared paper and count the empty squares on the left of each row. Write the numbers down.
  2. Predict. Before running Version 1, say aloud, in English, how many lines it will print and what the first one will look like.
  3. Fix one thing at a time. First make the empty line disappear, then add the spaces. Run the program after each change.
  4. Make it yours. Ask the user for the height with input(), or draw the pyramid upside down. Then explain the change to a parent in two sentences.

Thinking, not copying

Will my child just copy answers from AI?

Not in our classes. Children solve each puzzle themselves, explain it to the mentor, and only then see other ways to do it. They do not use adult chatbot accounts.

Think, then type

Every new program begins with a prediction: what will happen when it runs? A wrong prediction is useful, because finding out why is exactly the skill we are building.

Age rules respected

ChatGPT's own terms set a minimum age of 13 and require a parent's permission under 18, and Claude is for adults of 18 and over. Children of 9 to 12 learn without these tools in class.

Same standard everywhere

A child in Piura, Lima or Puno gets the same lesson plan, the same patient mentor and the same insistence on understanding. Where you live changes the hour on the clock, not the depth of the class.

When children are older and ready, we teach how AI works from the inside, with small models they train themselves in Python. The habit we protect from the first week is the one shown in the pyramid lesson: count, predict, check, and never accept a result you cannot explain.

Class times

What time would classes be in Peru?

At an hour you choose. Peru keeps UTC minus 5 all year and India keeps UTC plus 5:30, so India is always 10 hours 30 minutes ahead, in the school term and in the summer holidays alike. These rows only convert clocks; they are not fixed class times.

Sample Peru times for a child's class, converted to India time
Peru timeIndia timeA typical fit
09:3020:00A Saturday morning, or a summer-holiday weekday
11:0021:30Late morning before an afternoon school shift
14:3001:00, next dayAfter a morning school shift
17:0003:30, next dayAfter school, before dinner

Source: IANA time zone database, America/Lima and Asia/Kolkata; Peru has kept the same clock all year since 1994 and India does not change its clocks either. The conversions are our own.

Children need a laptop or desktop with a keyboard, a steady connection and, ideally, a headset with a microphone, so they can hear the mentor clearly and answer. A tablet without a keyboard makes typed Python slow and frustrating. A parent nearby for the first class helps, especially with setup; after that most children manage alone.

Steps

Five steps in a child's first Python year

Our own steps, used to place children in the right group and to show parents real progress in code and in English.

A first Python year for children of 9 to 12 (our steps)
StepIn Python, the child canIn English, the child can
1. DrawMove a turtle, change colours, draw shapesFollow "forward", "left", "repeat" by ear
2. RepeatUse loops to draw patterns and pyramidsSay how many times something happens
3. DecideUse if and else in a quiz or a gameExplain a rule with "if" and "otherwise"
4. RememberKeep scores and lists in variablesRead an error message aloud and guess it
5. BuildFinish a small game or a simple AI projectPresent the project in a few sentences

For parents

The pyramid lesson sits at step 2. A child who reaches step 3 starts asking "what if?" about everything, which is a good sign.

Our updates describe what your child made and explained, not how many hours they sat at the screen.

For children

If the program does something you did not expect, that is not a failure. It is a clue.

Count slowly. Most bugs are a number that is one too big or one too small.

More courses

Nine more courses for children around Python age

All taught live in English, in groups of children the same age or one to one, with a mentor who stays with the child.

I

Before Python

Ages 6 to 9

PYKI / PRE / 01

Problem solving for kids

Puzzles and logic that train the thinking behind code, ages 7 to 12.

Open the syllabus

PYKI / PRE / 02

Minecraft coding

Blocks inside a world children already love, ages 7 to 12.

Open the syllabus

PYKI / PRE / 03

AI literacy for kids

How AI works and where it goes wrong, for ages 8 to 14.

Open the syllabus
II

Alongside Python

Ages 9 to 12

PYKI / WITH / 01

Roblox game coding

Games built and scripted in Luau by the child.

Open the syllabus

PYKI / WITH / 02

Web development for kids

Real websites from the first page up, ages 9 to 12.

Open the syllabus

PYKI / WITH / 03

C++ for kids

A second typed language through games and puzzles, ages 9 to 12.

Open the syllabus
III

After the first year

Ages 10 and up

PYKI / NEXT / 01

Godot game development

GDScript, which looks a lot like Python, for ages 10 to 17.

Open the syllabus

PYKI / NEXT / 02

Python for teens

The full Python course for learners of 13 to 18.

Open the syllabus

PYKI / NEXT / 03

Problem solving and DSA

Algorithms for teenagers ready to think harder.

Open the syllabus

How classes run

How live Python classes work for a child in Peru

Any day, any time, flexible: choose a batch, or for a very personalised plan choose 1-on-1 at the hour that suits your family.

Mornings

Peruvian mornings fall in the Indian evening, an easy hour for both sides.

After school

Afternoon and evening classes in Peru are possible too; say which hour you need.

1-on-1

A private class for a child who needs a slower start or a faster one.

Children of one age

A nine year old never shares a group with teenagers.

Typing every class

The child writes the code; the mentor guides.

Patient English

Simple words, repeated and shown on screen.

One familiar mentor

The same teacher, week after week.

Small homework

A short challenge to try before the next class.

Group or private

Fifteen to twenty children, or one child alone.

Student work

Where children's Python can lead

Children who keep coding into their teens build serious work. Here are a few projects by our older students, and many more on the student labs page.

NutriLife AI nutrition coach project screenshot

AI and ML

NutriLife

An AI nutrition coach that reads what you eat and works you toward a target.

by Bhavya · Open it

Misti AI chatbot for maths and coding screenshot

AI and ML

Misti

A chatbot that answers mathematics and programming questions, built and deployed by a student.

by Harshit · Open it

GuardianX AI internet safety assistant screenshot

AI and ML

GuardianX

An assistant that helps a young person recognise unsafe situations online.

by Vivaan · Open it

SkyCast weather forecast application screenshot

Web app

SkyCast

A weather forecasting site with live conditions for any location.

by Krish

Fees

Fees for Python classes for children in Peru

We charge in US dollars, by card, once a month. Your bank changes the amount into soles at its own rate when it pays, so the total on your statement may vary a little from month to month.

Free first class

Free

no card required

  • A free trial class for your child
  • A small puzzle and a first program
  • No card details needed
Book it

Group batch

$100 USD

a month, eight live classes

  • Children of the same age, fifteen to twenty
  • One mentor all the way through
  • Two live classes each week
  • Monthly, with no long contract
Start here

One to one

$150 USD

a month, eight live classes

  • Your child and a mentor, alone
  • A pace that fits your child
  • Hours your family picks
Enquire

What families say

Rated 4.9 across 547 Google reviews

Parents' Google reviews, reproduced word for word.

★★★★★

"The one step solution for my son. Modern Age Coders make learning coding so simple that kids love it. The teachers explain complex concepts clearly with practical exercises and interactive content."

Ria Mukherjee

Parent

★★★★★

"Modern Age Coders has been a game-changer for me. I struggled to grasp IT concepts and coding before joining, but their classes transformed everything. I can now confidently write complex programs with ease."

Samriddha Mondal

Student

★★★★★

"One of the most wonderful education centres out there. Education is not limited to school syllabus but focuses on skill development."

Vansh Agarwal

Student

★★★★★

"My child Dhairya is really enjoying the Modern Age Coders classes. This is his first online class and he eagerly looks forward to it. I can already see his improvement, and the teachers are very cooperative."

Sonam Oswal

Parent of Dhairya

★★★★★

"Modern Age Coders have wonderful teachers who teach in a clear, easy and practical way. The teacher boosts students' confidence and inspires them to learn without hesitation."

Sonu Goyal

Parent

★★★★★

"I highly recommend this computer coding class! The teachers are incredibly knowledgeable and passionate about coding."

Ritu Kedia

Parent

Parents in Peru ask

Python for kids in Peru: questions from parents

Are the classes in Spanish?

No. All our classes are live online in English, and only in English. Mentors speak slowly and clearly, adjust to your child's pace and accent, and show each step on screen. Python's commands are English words anyway, so a child learning it in English hears and types the same words.

What age is right for Python?

Around 9, which is usually 4th grade of primaria in Peru. Children need to read short instructions and type without too much trouble. Younger children, or those not ready to type, start with Scratch blocks and move to Python later.

My child's English is basic. Will they understand?

Usually, yes, if they can follow simple spoken instructions. Each step is shown on the shared screen, and the mentor repeats in simpler words. For a child with very little English we suggest one-to-one classes at first. The free class will show you.

Is Python too hard for a nine year old?

Not when the lessons are built for children. We start with drawings and short programs that show a result straight away, add one idea at a time, and only move on when the child can explain what they did.

When are the classes in Peru time?

Any day, any time, flexible: choose a batch, or for a very personalised plan choose 1-on-1 at the hour that suits your family. India is 10 hours 30 minutes ahead of Peru all year, so 09:30 in Peru is 20:00 in India.

Does primaria in Peru teach programming?

Not as a subject. The national curriculum has no computing area in primaria; digital skills are shared across subjects. Our classes add coding alongside school, never instead of it.

Will my child use ChatGPT or other AI tools?

Not adult accounts. ChatGPT's terms set a minimum age of 13 with a parent's permission under 18, and Claude is for users of 18 and over. Children learn to solve problems themselves first, and later learn how AI works by building small models in Python.

What does my child need at home?

A laptop or desktop computer with a keyboard, a steady internet connection and ideally a headset with a microphone. Python is free, and the mentor helps set it up in the first class. A phone or a tablet without a keyboard is not enough for typing code.

Do children get a certificate?

Yes, our own certificate of completion when they pass the course's final assessment. It is from Modern Age Coders, not a school or ministry qualification, and we are not connected with MINEDU or any school in Peru.

How do we pay?

By card, in US dollars, monthly. Your bank converts the payment into soles, so the amount on your statement can differ slightly between months. The first class is free and needs no card.

Read next

Related pages

More for parents in Peru thinking about Python.

Curso de Python para niños

Our Spanish page on the same classes.

Python at nine

What a nine year old can do in Python.

Python at eleven

Projects that suit the last years of primaria.

Python projects for kids

Ideas children can build at home.

AI tools age guide

The minimum age set for each AI tool.

Coding and AI classes in Peru

All our pages for families in Peru.

More pages for Peru

Part of the guide: Every Peru page

More guides: Coding and AI classes in Peru · En español: clases de programación en inglés · Start here: English-medium coding in Lima · By age and stage: AI and coding for professionals · Exams, olympiads and school holidays: IB computer science tutor · Guides to choosing: An English-taught option to Crack The Code · Regions of Peru: Amazonas region · Cities: Arequipa: coding for every age · Lima and Callao districts: Programación para niños en Ancón

Start here

Book a free Python class for your child

In the free class your child draws something with Python and solves a small puzzle. The mentor watches how they read, type and think, and afterwards suggests Python or blocks, a group or one to one, and an hour that fits your family in Peru.

Would you like to know more first? How we teach describes a class from start to finish, and the course list shows each syllabus.

WhatsApp us · +91 91233 66161 · connect@modernagecoders.com

Every class is live on video, led from India, in English only. You can also write to us on WhatsApp in English for a quick answer.

Free, without a card or any commitment.

Want a class sooner? Book a priority demo

A priority demo is a full class of about 45 to 60 minutes. After the class the mentor sends a written skill report and a personal learning roadmap on WhatsApp. If you enrol, the demo fee is adjusted against your first month's fee. Share your demo Order ID with us on WhatsApp and we take it off.

Book a priority demo

Keep exploring Modern Age Coders

Related courses and guides

Learn more

Free resources

From the blog

Start here

Free classPriority demoCall us