Peru · Age 10 · 5° de primaria · Live, in English

Coding for kids age 10 in Peru

At ten a child can type quickly enough, read carefully enough and argue well enough to write real code, and in Peru they still have two years of primaria before secundaria changes everything. This page is for parents who want to use those two years well: typed Python, taught live and in English, by a mentor who asks good questions instead of handing out answers.

Live teaching since 2020 · 4.9 from about 547 reviews on Google · ten year olds type real Python and explain it in English

In short

Ten is a very good age to move from blocks to typed code, and Modern Age Coders teaches ten year olds in Peru live, online and in English. Most children of ten start Python with us: loops, decisions, small games and maths puzzles, written line by line and explained aloud. A mentor based in India works on a shared screen with your child, either alongside fifteen to twenty classmates of the same age or one to one, at any hour that suits your family in Peru. The first class is free.

Where ten year olds begin

Three courses that fit a ten year old

All three use typed code. Choose by what lights your child up: games, numbers or making things others can see.

Who this page is for

Who are coding classes for ten year olds in Peru for?

Families in Peru with a child of ten who reads English reasonably well, or who is keen to, and who wants more from a screen than games made by someone else.

Scratch veterans

They have built games with blocks and are starting to feel the limits. Typed code is the natural next step, and ten is when most children manage it comfortably.

Fresh starters

Ten year olds who have never coded can begin straight in Python. They lose nothing by skipping blocks at this age; they simply start with smaller programs.

Puzzle lovers

Some ten year olds care less about games and more about numbers. For them, code is a way to test a guess about a pattern hundreds of times in a second.

Our Spanish-language page programación para niños de 10 años covers the same age with a week-by-week plan from Scratch to Python and a closer look at AI. For the language itself, Python for kids in Peru lists the English words Python is made of and when children meet them.

One term of Python

What can a ten year old build in Python in one term?

More than most parents expect, as long as each project is small and finished. Here is a typical first term with us, described as the child would describe it.

  1. "I made the computer say my name in a sentence." Printing, text and variables. The child learns that a name in quotes is text and a name without quotes is a box holding something.
  2. "I drew a star with a turtle." Loops, angles and the surprise that 360 divided by 5 gives the turn for a pentagon, not a star; the star needs 144 degrees.
  3. "My quiz tells you if you are right." Input and decisions. The quiz breaks when someone types "Ten" instead of 10, and the child has to decide what to do about it.
  4. "The computer guesses my animal." A game of yes and no questions, built from nested decisions, which turns out to be how many real classifiers start.
  5. "I found a number that takes 111 steps." A while loop, a counter and some real mathematics, from the lesson on this page.

Why typed code at ten

Blocks hide the words; typing shows them. A ten year old who types while and if every week learns precise English and precise thinking together, because a single wrong letter stops the program.

Error messages are in English too, and they are short. Reading "NameError" and working out that a variable was misspelt is a small, satisfying act of detective work that ten year olds enjoy.

What still needs a teacher

Ten year olds rush. They type a line, run it, see an error and retype the line exactly the same way. A mentor watching live slows them down: read the message, point to the line, say what you expected.

They also over-trust working code. The program printed something, so it must be right. Our lessons always include one run where the output looks fine and is wrong, so that checking becomes a habit.

Online at ten

How does a ten year old's online life in Peru change before secundaria?

Sharply. INEI's household survey groups children of 6 to 11 and young people of 12 to 18, and the two groups live very different online lives. A ten year old is two birthdays from crossing that line.

Two INEI age bands compared: internet and phone use in Peru, second quarter of 2025 and 2026 (percent)
Measure (INEI table)Ages 6 to 11, 2025Ages 6 to 11, 2026Ages 12 to 18, 2025Ages 12 to 18, 2026
Online at all, any device (Cuadro 2.1, % of everyone that age)61.568.290.792.5
Reached the internet by phone (Cuadro 2.6, % of that age's internet users)43.348.575.478.1
Uses any mobile phone (Cuadro 3.3, % of everyone that age)65.367.892.692.2

Three tables (2.1, 2.6 and 3.3) from INEI's technical report on information technology in Peruvian homes, April to June 2026, issue N° 03, which rests on the ENAHO household survey. 2026 values are provisional. Checked 9 November 2026; we write INEI's decimal commas as points.

What changes between the bands

Between April and June 2026, INEI counted 68.2% of the younger band online and 92.5% of the older band, a gap of 24.3 points by our subtraction. Phone use jumps by almost the same amount, from 67.8% to 92.2%.

The way young people get online changes too. Among internet users aged 6 to 11, 48.5% went online by phone; among those aged 12 to 18, 78.1% did. Somewhere around the start of secundaria, the phone becomes the main door.

Why that matters at ten

A ten year old who learns to make things on a computer now arrives at twelve with a habit of creating, not only scrolling. That is the quiet case for starting typed code before secundaria, when the phone takes over.

It also means setting rules early. We suggest that classes and practice happen on a laptop in a shared room, with the phone elsewhere; children who learn to code that way usually keep the habit later.

The end of primaria

What is left of primaria for a ten year old in Peru?

Fifth and sixth grade. Primaria lasts six years under Ley 28044, and on MINEDU's table of normative ages a child of ten belongs in 5° and a child of eleven in 6°, counted on 31 March.

Then secundaria

Peru's Reglamento of the education law says secundaria takes in adolescents "que hayan aprobado el sexto grado de Educación Primaria". So the move happens after 6°, usually at twelve.

Sixth grade can also bring a national test. In 2024 MINEDU's ENLA tested a sample of 105,534 pupils in 6° de primaria, alongside a census of fourth grade. In 2025 the ENLA tested 4° de primaria and 2° and 5° de secundaria. Whether a ten year old will sit it depends on the year and the school's selection.

Where coding touches the curriculum

The CNEB lists four mathematics competencies, one of them "Resuelve problemas de regularidad, equivalencia y cambio": finding and describing patterns. Today's lesson is exactly that, with a computer doing the arithmetic.

Its competency on virtual environments, shared by all areas rather than taught alone, includes building digital things "siguiendo un proceso de mejoras sucesivas y retroalimentación". That is a fair description of writing a program, running it and fixing it.

None of this makes our classes part of school. Modern Age Coders has no tie to MINEDU, any UGEL or any school, we do not prepare children for the ENLA, and we award no Peruvian grades. A child who completes a course receives our own certificate of completion.

An original Python lesson

What does a Python lesson look like at ten? A loop that might never stop

Our lesson for ten and eleven year olds in their first months of Python. It uses one simple rule, and it ends with a question that the world's mathematicians still cannot answer.

The rule

Pick any whole number. If it is even, halve it. If it is odd, multiply it by 3 and add 1. Do the same to the answer, and keep going until you reach 1.

The child tries it on paper with 6 first: 6, 3, 10, 5, 16, 8, 4, 2, 1. Eight steps. It feels like a game, and it is, until they try 27 on paper and give up somewhere past 300.

Why a while loop

A for loop needs to know how many times to repeat. Here nobody knows; we only know when to stop. That is what while is for: keep going while a condition is true.

To test whether a number is even, Python uses %, the remainder after division. n % 2 == 0 means "dividing by 2 leaves nothing over". Ten year olds learn this one symbol and use it for years.

Version 1: follow the rule from 6 and count the stepsPython
n = 6
steps = 0
while n != 1:
    print(n, end=" ")
    if n % 2 == 0:
        n = n // 2
    else:
        n = 3 * n + 1
    steps = steps + 1
print(n)
print("Steps:", steps)
What Version 1 printsOutput
6 3 10 5 16 8 4 2 1
Steps: 8

Copied unchanged from our own run under Python 3 (python3 -I): the paper path again, and 8 steps.

Then we wrap the rule in a function, so it can be tried on many starting numbers, and we add one more thing to watch: the highest number the path reaches before it falls back to 1.

Version 2: a function, tried on five starting numbersPython
def steps_to_one(n):
    steps = 0
    highest = n
    while n != 1:
        if n % 2 == 0:
            n = n // 2
        else:
            n = 3 * n + 1
        steps = steps + 1
        if n > highest:
            highest = n
    return steps, highest

for start in [6, 7, 26, 27, 28]:
    steps, highest = steps_to_one(start)
    print(start, "takes", steps, "steps and climbs to", highest)
What Version 2 printsOutput
6 takes 8 steps and climbs to 16
7 takes 16 steps and climbs to 52
26 takes 10 steps and climbs to 40
27 takes 111 steps and climbs to 9232
28 takes 18 steps and climbs to 52

Exact output of our run. Neighbouring numbers behave very differently: 26 takes 10 steps, 27 takes 111 steps and climbs as high as 9232, and 28 takes 18.

Children gasp at 27. Then comes the real question: does every starting number reach 1 in the end? Every number anyone has ever tested does, and nobody has been able to prove that all of them must. The idea is known as the Collatz problem. A ten year old has just written a program about an unsolved problem in mathematics, and understood why the program uses while and not for: we cannot promise how long it will run.

There is a second lesson hidden here. Five starting numbers all reaching 1 does not prove that every number will. Testing builds confidence; it is not proof. Children who learn that at ten are much harder to fool later, by an advert, a chart or an AI that sounds sure of itself.

  1. Our practice, predict. Before running it, guess how many steps 16 will take. Why is it so quick?
  2. Our practice, search. Use a for loop to try every start from 1 to 50 and print the one with the most steps.
  3. Our practice, careful. What happens if you start at 0? Why? Add a line that refuses numbers below 1.
  4. Our practice, explain. Tell your mentor, in English, why this program needs while.

AI at ten

Should a ten year old use AI to help with coding?

Not to write the code. At ten the point is to build the thinking that AI tools skip, and the main chatbots do not accept children this young anyway.

What the makers allow

OpenAI's terms for ChatGPT begin "You must be at least 13 years old". Anthropic sets 18 for Claude. A ten year old is too young for both, so we never use either with children of this age.

What we teach instead

How a model learns: with Teachable Machine, which trains in the browser without an account, a child trains a model on their own pictures and finds its blind spots.

Why it matters

A child who has written the 3n+1 loop knows that a program can be confident and still incomplete. That instinct is the right one to bring to AI later.

The ages each AI maker sets, with their own words quoted, are collected in our AI tools age guide.

Peru time

When could a ten year old in Peru have class?

Whenever suits the family. Peru stays on UTC minus five every day of the year and India on UTC plus five and a half, so India is ten hours thirty minutes ahead of you without exception. The rows convert sample hours and nothing more.

Some Peru hours a ten year old might choose, with the matching India time (conversions only, not class times)
Hour in PeruHour in IndiaWhen it tends to suit
08:3019:00Holiday mornings in January and February
12:0022:30Midday at the weekend
15:0001:30, next dayOnce a morning school shift is over
17:0003:30, next dayAfter homework on a weekday
19:3006:00, next dayEvening, after dinner

Based on the IANA tz database: America/Lima at UTC minus 5 with no clock change since 1994, Asia/Kolkata at UTC plus 5:30. Each conversion was worked out by us.

Because neither country changes its clocks, a slot chosen in March is still the same slot in August. Every Peru page, for every age and many cities, sits together on our Peru coding and AI hub.

Progress at ten

How does a ten year old progress in Python?

Through five stages that we use to place children and plan their next projects. They are ours, not a school scale.

Five Python stages for ten year olds (ours)
StageTypical timingWritesCan explain
1. Prints and storesWeeks 1 to 3Short programs with variables and textWhat a variable holds
2. RepeatsWeeks 4 to 8for loops that draw or countWhy the loop ran that many times
3. DecidesWeeks 9 to 12Quizzes and games with if, elif, elseWhich branch ran and why
4. Loops untilMonths 4 to 6while loops with a stopping conditionWhat would make the loop run forever
5. OrganisesMonths 6 to 9Functions called with different inputsWhat goes in, what comes out

For parents

The right-hand column matters more than the left. A ten year old who can explain a loop has learnt it; one who can only type it has copied it.

Stage 4 is where today's lesson sits. Ask your child why 27 is special, and listen.

For your ten year old

Before you run a program, say what you think it will print. Then run it and compare.

An error message is a clue written in English. Read it all the way to the end before you change anything.

More choices

Nine more courses that suit a ten year old

Live, in English, one mentor, a group of children the same age or one to one.

I

Games and code

Ages 8 to 17

CAG / GAME / 01

C++ for kids

A second typed language for confident ten year olds.

Open the syllabus

CAG / GAME / 02

Godot game making

2D and 3D games in GDScript, from ten.

Open the syllabus

CAG / GAME / 03

Roblox coding

Luau scripts in a world children already play in.

Open the syllabus
II

Making for others

Ages 8 and up

CAG / MAKE / 01

AI literacy for kids

How models learn and fail, with no adult accounts.

Open the syllabus

CAG / MAKE / 02

HTML and CSS

Websites that look right on a phone, from ten.

Open the syllabus

CAG / MAKE / 03

App making for kids

Plan, build and test a small app with blocks.

Open the syllabus
III

Mathematics

Ages 6 to 14

CAG / MATH / 01

Maths competitions

Contest problems for strong ten to fourteen year olds.

Open the syllabus

CAG / MATH / 02

AMC 8 preparation

An American contest open to younger students, from ten.

Open the syllabus

CAG / MATH / 03

Elementary maths

Solid grade 1 to 5 maths, placed by level.

Open the syllabus

How it works

How live classes work for a ten year old 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.

Term time

Afternoon or early evening in Peru, around a morning or afternoon school shift.

Holidays

Mornings from January to March, and in the mid-year break.

1-on-1

Your ten year old with a mentor alone, at an hour you set.

Typed from day one

Real Python, never copied from a video.

Say it before running it

Every program starts with a spoken prediction.

One mentor

The same person each week, who knows your child's habits.

Same-age groups

Ten year olds with ten year olds, at a similar level.

Short notes home

Built, struggled with, next step.

Group or solo

Fifteen to twenty children, or one to one.

Student work

Projects from students who kept going

A ten year old's first programs are small. Here is where some of our students got to a few years later; the student labs page shows more.

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 a ten year old's classes, paid from Peru

The monthly fee is fixed in US dollars and charged to a card. Whoever issued your card turns it into soles on the day, at its own rate, so the soles amount can differ a little from one statement to the next.

Free first class

Free

no card required

  • A free first class
  • Your child writes and runs a first Python program
  • No card details
Book it

Group batch

$100 USD

a month, eight live classes

  • Fifteen to twenty ten year olds
  • The same mentor throughout
  • Two live classes a week
  • Monthly, stop whenever you wish
Start here

One to one

$150 USD

a month, eight live classes

  • Only your child and the mentor
  • Projects and pace built around them
  • Times you choose
Enquire

What families say

Rated 4.9 across 547 Google reviews

Parents and students, word for word from Google reviews.

★★★★★

"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

Coding at age 10: what parents in Peru ask us

Are the classes in Spanish?

No. Lessons happen live and online, and the only language used is English. Mentors speak plainly and at a steady pace, adjust to the way your child speaks and to how quickly they work, and write key words on the shared screen. Python itself is written in English words, so the language of the class and the language of the code are the same.

Is ten too late to start coding?

Not at all. Ten is one of the easiest ages to start, because a child can type, read error messages and hold a longer program in mind. Many children who start at ten overtake others who began with blocks years earlier.

Should a ten year old skip Scratch and go straight to Python?

Usually yes, if they read comfortably. A ten year old who has never coded can start Python with very small programs. If typing is still slow, a few weeks of blocks first is fine; the free class shows which suits.

What does 5° de primaria teach about computing in Peru?

There is no computing area in MINEDU's plan for primaria; digital skills appear as a competency running through all subjects. A number of private schools add coding in hours they control, so tell us what your child does at school and we will build on it.

How much English does my ten year old need?

Enough to follow short spoken instructions with help from the screen. The mentor slows down, repeats and shows. Children who start with modest English often improve quickly, because the code only runs once the instruction is understood.

What hours are possible from 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. India runs ten hours thirty minutes ahead of Peru all year, so 17:00 for your child is 03:30 the next day for the mentor.

Will my child use ChatGPT or Claude?

No. ChatGPT requires users to be at least 13 and Claude at least 18. Ten year olds in our classes learn how AI works with tools made for their age, after they have learnt to solve problems themselves.

Does coding help with school maths?

It often helps indirectly: children who code check their working, look for patterns and get used to precise steps. We make no promise about school marks, and our classes do not prepare for the ENLA.

What does my child need at home?

A laptop or desktop with a keyboard, a reliable connection and a headset with a microphone. A phone or tablet is not enough for typing Python.

Do you work with MINEDU or with Peruvian schools?

No. We are a private online school with mentors in India and no tie to MINEDU, any UGEL or any Peruvian school. We award no Peruvian grades; a completed course earns our own certificate.

Read next

More for parents of ten year olds

Further reading for the years ahead.

Coding for 10 year olds

Our general guide to the age, wherever you live.

Python at ten

A closer look at Python programs children write at this age.

Coding at twelve

What the start of secundaria brings.

AI tools by age

Each tool and its minimum age, in the maker's words.

Thinking first

Why our mentors ask before they tell.

Student labs

Work by our students, from games to tools.

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 · Subjects and courses: AI agents course · 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 ten year old

In the free class your child types and runs a first Python program, then changes it to do something new while the mentor watches how they reason. You leave with a suggested course, a choice between a group and one-to-one lessons, and hours that fit.

Curious first? See a full lesson on how we teach, or browse every syllabus on our courses page.

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

Live classes from India, taught in English. A WhatsApp message in English gets the fastest answer.

Free, no card, nothing to commit to.

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