CAG / GAME / 01
C++ for kids
A second typed language for confident ten year olds.
Open the syllabusPeru · Age 10 · 5° de primaria · Live, in English
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
All three use typed code. Choose by what lights your child up: games, numbers or making things others can see.

CAG / 01
Built for nine to twelve year olds, and where most ten year olds begin. Turtle drawings, text games, small quizzes and child-safe AI projects, all in real Python from week one.
Open the syllabus →
CAG / 02
Ages 10 to 15. For the child who asks why numbers behave as they do. Patterns, primes and puzzles explored in Python, like the loop lesson further down this page.
Open the syllabus →
CAG / 03
Ages 9 to 12. Real web pages with HTML, CSS and a little JavaScript, built and published by the child, so grandparents in another city can see them.
Open the syllabus →Who this page is 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.
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.
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.
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
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.
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.
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
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.
| Measure (INEI table) | Ages 6 to 11, 2025 | Ages 6 to 11, 2026 | Ages 12 to 18, 2025 | Ages 12 to 18, 2026 |
|---|---|---|---|---|
| Online at all, any device (Cuadro 2.1, % of everyone that age) | 61.5 | 68.2 | 90.7 | 92.5 |
| Reached the internet by phone (Cuadro 2.6, % of that age's internet users) | 43.3 | 48.5 | 75.4 | 78.1 |
| Uses any mobile phone (Cuadro 3.3, % of everyone that age) | 65.3 | 67.8 | 92.6 | 92.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.
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.
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
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.
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.
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
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.
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.
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.
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)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.
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)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.
for loop to try every start from 1 to 50 and print the one with the most steps.while.AI at ten
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.
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.
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.
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
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.
| Hour in Peru | Hour in India | When it tends to suit |
|---|---|---|
| 08:30 | 19:00 | Holiday mornings in January and February |
| 12:00 | 22:30 | Midday at the weekend |
| 15:00 | 01:30, next day | Once a morning school shift is over |
| 17:00 | 03:30, next day | After homework on a weekday |
| 19:30 | 06:00, next day | Evening, 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
Through five stages that we use to place children and plan their next projects. They are ours, not a school scale.
| Stage | Typical timing | Writes | Can explain |
|---|---|---|---|
| 1. Prints and stores | Weeks 1 to 3 | Short programs with variables and text | What a variable holds |
| 2. Repeats | Weeks 4 to 8 | for loops that draw or count | Why the loop ran that many times |
| 3. Decides | Weeks 9 to 12 | Quizzes and games with if, elif, else | Which branch ran and why |
| 4. Loops until | Months 4 to 6 | while loops with a stopping condition | What would make the loop run forever |
| 5. Organises | Months 6 to 9 | Functions called with different inputs | What goes in, what comes out |
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.
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
Live, in English, one mentor, a group of children the same age or one to one.
CAG / GAME / 01
A second typed language for confident ten year olds.
Open the syllabusCAG / GAME / 02
2D and 3D games in GDScript, from ten.
Open the syllabusCAG / GAME / 03
Luau scripts in a world children already play in.
Open the syllabusCAG / MAKE / 01
How models learn and fail, with no adult accounts.
Open the syllabusCAG / MAKE / 02
Websites that look right on a phone, from ten.
Open the syllabusCAG / MAKE / 03
Plan, build and test a small app with blocks.
Open the syllabusCAG / MATH / 01
Contest problems for strong ten to fourteen year olds.
Open the syllabusCAG / MATH / 02
An American contest open to younger students, from ten.
Open the syllabusCAG / MATH / 03
Solid grade 1 to 5 maths, placed by level.
Open the syllabusHow it works
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.
Real Python, never copied from a video.
Every program starts with a spoken prediction.
The same person each week, who knows your child's habits.
Ten year olds with ten year olds, at a similar level.
Built, struggled with, next step.
Fifteen to twenty children, or one to one.
Student work
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.

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

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

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

Web app
A weather forecasting site with live conditions for any location.
Fees
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
Group batch
$100 USD
a month, eight live classes
One to one
$150 USD
a month, eight live classes
What families say
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
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.
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.
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.
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.
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.
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.
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.
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.
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.
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
Further reading for the years ahead.
Our general guide to the age, wherever you live.
A closer look at Python programs children write at this age.
What the start of secundaria brings.
Each tool and its minimum age, in the maker's words.
Why our mentors ask before they tell.
Work by our students, from games to tools.
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
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.
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