AYA / S / 01
Python and AI for Kids
Typed Python for 9 to 12 year olds.
Open the syllabusAyacucho · Python and AI · Live online, in English · Age 9 to adult
Huamanga is a student city: its public university alone enrolled close to twelve thousand students in one semester. Python is the language most of them will meet, in engineering, economics, biology and beyond. This page explains why Python is a sensible first language at any age, what happens inside sixty minutes of a live online class, what equipment really matters in Ayacucho, and a project in which a real university file refuses to open until the learner understands how text is stored.
Live teaching since 2020 · above 10,000 learners worldwide · mentors who explain the why behind every line
In brief, for Ayacucho
Ayacucho learners can study Python and AI with Modern Age Coders, live online and in English, at every age. Nine to twelve year olds write their first typed programs, teenagers learn complete Python and can prepare for the PCEP certificate, and university students and adults use Python for data, automation and AI. Every class is run live by a mentor on video, with fifteen to twenty classmates or alone with the mentor, at whichever hours the learner books. Learners write and debug their own code; nobody is taught to copy.
Starting Python in Ayacucho
Teenagers, university students and working adults are the largest groups; children who are ready can start too.

AYA / 01
Ages 13 to 18 with no experience. Clear foundations, then files and data, alongside 1° to 5° de secundaria.
Open the syllabus →
AYA / 02
For university students and adults. From a first script to real data and automation, useful in engineering, economics, biology or an office job.
Open the syllabus →
AYA / 03
For adults aged 18 and over. Spreadsheets, SQL and Python, so that a messy file becomes a clear answer.
Open the syllabus →Ayacucho in numbers
The city of Ayacucho, often called Huamanga, is the capital of a department where internet use has nearly tripled in a decade while computers remain scarce.
| Unit | Residents | Census |
|---|---|---|
| Ayacucho city (Huamanga) | 216,444 | 2017 |
| Department of Ayacucho | 709,029 | 2025 |
| Province of Huamanga | 318,114 | 2025 |
| District of Ayacucho | 102,171 | 2025 |
INEI: table 1.9 of Perú: Perfil Sociodemográfico 2017 for the city; table 1 of the Censos Nacionales 2025 demographic indicators for the rest. No 2025 city figure had been published as of November 2026. The units overlap and are kept apart.
| Measure | Ayacucho 2015 | Ayacucho 2025 | Peru 2025 |
|---|---|---|---|
| People aged 6 and over who use the internet | 26.6 | 73.5 | 81.1 |
| Homes with an internet service | 5.3 | 35.5 | 56.8 |
| Homes with a computer | 13.3 | 20.9 | 33.9 |
Figures from tables 11.13, 11.6 and 11.5 of the first volume of INEI's 2026 statistical compendium, based on the ENAHO survey. Decimal commas changed to points. The 2015 comparison is ours.
Three in four people over six in the department now use the internet, up from about one in four in 2015. But only about one home in three has its own internet service and one in five has a computer. Many Ayacucho learners go online by phone or at a university lab, which shapes our advice on equipment further down.
Why Python
Python reads almost like English, runs on any computer, and is used everywhere from engineering to AI. Peruvian schools do not teach it as a subject.
Python lets a beginner write something useful in the first hour: add up a list, read a file, draw a chart. The same language then carries a learner into data science, machine learning and AI tools, so nothing learned at the start is thrown away.
Its words are short and English: print, for, if, return. For a learner in Ayacucho, that is also steady English practice.
The national curriculum makes digital skills transversal and gives secundaria no computing area. MINEDU has begun a Python pilot, Fábrica de Programadores, for 1,000 students in Lima Norte, ending with the PCEP certificate; it has not reached Ayacucho.
So a secundaria student in Ayacucho who wants Python learns it outside school, as university students often do before their courses require it.
| Who | Course | They come out able to |
|---|---|---|
| Children about 9 to 12 | Python and AI for Kids | Write short programs with loops, choices and drawings |
| Teenagers 13 to 18 | Python for Teens, then PCEP | Use functions and files; sit an entry-level certificate |
| University students | Python Masterclass | Handle course data, automate lab work, start in AI |
| Adults at work | Python and AI automation, data analysis | Turn repetitive tasks and messy files into scripts |
| Anyone curious about AI | Generative AI, after Python | Use and test AI tools with judgement |
Path, courses and outcomes are ours. The OPI, UTEC's free computing olympiad for secundaria students, also accepts Python in its first round, which gives teenagers one more reason to start with it.
Engineering students will find more on the subject in Python for engineering students in Peru, and in Spanish in Python para estudiantes de ingeniería.
Inside a class
A live class is a conversation with a keyboard in it. Here is a typical hour for a group of adult beginners; children's classes are shorter and more playful, but follow the same pattern.
| Minutes | What happens | Who is doing it |
|---|---|---|
| 0 to 5 | Hello, a quick question about last week's exercise | Learners answer, mentor listens |
| 5 to 15 | One new idea, shown on the mentor's screen | Mentor explains, learners ask |
| 15 to 35 | Everyone types the idea and changes it | Learners code, mentor visits each screen |
| 35 to 50 | A problem that needs the new idea | Learners solve, some share their screen |
| 50 to 60 | What went wrong, what we learned, the next exercise | Whole group |
Our own plan; mentors adjust it to the group. Group classes meet twice a week.
When a learner's program fails, the mentor does not fix it for them. The learner reads the error message aloud, says what they think it means, and tries a change. Most of the learning in an hour happens in those moments.
That is also how we keep AI in its place: a suggestion from any tool is tested like any other code, and the learner must explain why it works.
A group of fifteen to twenty learners of a similar age suits most people, and other learners' questions help. A one-to-one hour suits shift workers, university students with changing timetables, and anyone who wants their own pace.
Either way, the mentor stays the same, and knows your code from week to week.
Equipment
Less than people fear, but more than a phone. Here is our honest list.
INEI's 2025 figures put a computer in about one Ayacucho home in five. If you do not have one, tell us at the free class. We would rather plan around a shared or borrowed machine, or tell you a course will not work yet, than sell a place you cannot use.
Taught in English
No. Every class is live, online and in English only, with mentors who speak plainly and patiently.
In EF's 2025 English index, Peru as a whole sits at 519, a moderate result, while Lima city reaches 555, a high one. It publishes no score for Ayacucho city or the Ayacucho region, so we cannot quote one and will not guess.
Our experience is that many university students read technical English better than they speak it. Python classes use that strength: code and errors are written English, and listening improves week by week.
Mentors speak at a steady pace, write key words in the chat, and rephrase instead of repeating louder. They wait for answers and accept a mix of English and Spanish while giving the English terms.
The free class includes a short check of how comfortable the learner is. If English is a real barrier, one to one is the gentler route.
Why we insist on reasoning rather than copied answers, in any language, is set out in learn to think, not copy.
A real Huamanga project
The Universidad Nacional de San Cristóbal de Huamanga publishes its undergraduate enrolment as open data. Our learners use it to meet a problem every Spanish-speaking programmer meets sooner or later: letters with accents, and the encoding a file was saved in.
The dataset "Estudiantes matriculados de la Universidad Nacional de San Cristóbal de Huamanga" is on Peru's open data platform under the Open Data Commons Attribution Licence (ODC-By). Its file, matricula-2024-1-UNSCH.csv, has 11,993 rows, one per enrolled student, with the student's professional school, faculty and place of birth. Identifiers are anonymised.
Two small puzzles are already in the file. Its name says 2024-1, but every row's enrolment period says 2023-1, and the portal describes it as 2023 enrolment. And it was saved in an older text encoding, Latin-1, not UTF-8. We use only the school, faculty and birthplace columns; we have no connection with the university.
A simple first task: how many students are there, and which professional schools are largest? Any beginner can write that in five lines.
Python 3 assumes UTF-8, the modern standard, unless told otherwise. That assumption is where the trouble begins.
import csv
with open("matricula-2024-1-UNSCH.csv", encoding="utf-8") as data:
students = list(csv.DictReader(data, delimiter=";"))
print(len(students))It stops with UnicodeDecodeError: 'utf-8' codec can't decode byte 0xcd in position 380: invalid continuation byte.
Byte 0xcd is how Latin-1 stores the letter Í, as in INGENIERÍA. In UTF-8 that same byte means "a two-byte letter starts here", and the next byte does not fit, so Python refuses. Learners often search for a quick way past the error and find errors="replace". It makes the error go away, which is exactly the danger.
import csv
with open("matricula-2024-1-UNSCH.csv", encoding="utf-8", errors="replace") as data:
students = list(csv.DictReader(data, delimiter=";"))
print(len(students))
print(students[0]["ESCUELA_PROFESIONAL"])
print("INGENIERÍA CIVIL" in [s["ESCUELA_PROFESIONAL"] for s in students])It prints 11993, then INGENIER�A AGR�COLA, then False.
The program now runs and counts every student, but each Í and Ó has become the replacement mark �. Worse, a search for the Civil Engineering school answers False, as if no one studied it. Nothing crashed, and the answer is wrong. That is the lesson in one line: a program that runs is not a program that is right.
import csv
from collections import Counter
with open("matricula-2024-1-UNSCH.csv", encoding="latin-1") as data:
students = list(csv.DictReader(data, delimiter=";"))
schools = Counter(s["ESCUELA_PROFESIONAL"] for s in students)
print("Students:", len(students), "in", len(schools), "schools")
for name, n in schools.most_common(3):
print(n, name)
print("INGENIERÍA CIVIL" in schools)
accented = Counter(ch for s in students for ch in s["ESCUELA_PROFESIONAL"] if ord(ch) > 127)
print("Letters outside plain ASCII:", dict(accented))It prints Students: 11993 in 28 schools, then 957 INGENIERÍA CIVIL, 740 DERECHO, 617 ECONOMÍA, then True, and finally Letters outside plain ASCII: {'Í': 8487, 'Ó': 2243, 'Á': 108}.
| Professional school | Students in the file |
|---|---|
| Ingeniería Civil | 957 |
| Derecho | 740 |
| Economía | 617 |
| Contabilidad y Auditoría | 612 |
| Biología | 610 |
| Ingeniería de Sistemas | 587 |
Data: Universidad Nacional de San Cristóbal de Huamanga, Estudiantes matriculados, on datosabiertos.gob.pe, Open Data Commons Attribution Licence (ODC-By). Counts are our own, from 11,993 rows across 28 professional schools. By birthplace, 11,620 students were born in the Ayacucho department, 204 in Cusco and 71 in Apurímac. Students' dates of birth, grades and other personal columns are never read.
With encoding="latin-1" every letter comes back and Civil Engineering is found. The last line counts the letters that needed care: 8,487 Í, 2,243 Ó and 108 Á in the school names alone. One more detail rewards a sharp eye: the faculty "INGENIERIA QUÍMICA Y METALURGIA" is typed without the accent on its first word, while the faculty next to it has one. So even with the right encoding, a search for "INGENIERÍA" in the faculty column misses 707 students. Real data needs checking twice.
Class times
Any time the learner books. Ayacucho runs on Peru time throughout the year, and mentors plan around that.
| Ayacucho | India | Good for |
|---|---|---|
| 06:00 | 16:30 | Before a university morning |
| 08:00 | 18:30 | Secundaria students on the afternoon shift |
| 11:30 | 22:00 | A mid-morning gap in a timetable |
| 14:00 | 00:30, next day | After a morning shift at school |
| 19:00 | 05:30, next day | Adults after work |
Peru stays on UTC minus 5 hours all year, without summer time since 1994 (tz database zone America/Lima; INACAL keeps official time). India runs five and a half hours ahead of UTC, so it is always 10 hours 30 minutes ahead of Ayacucho.
With neither clock changing, a booked hour stays the same through the year. Learners book in Ayacucho time and the mentor sees India time. University students often switch to one to one at the start of each semester, when their own timetable changes.
Milestones
Our milestones, the same at any age, used to place learners and report progress honestly.
| Milestone | Commonly reached | The learner can |
|---|---|---|
| 1. Print and loop | First weeks | Run a script that repeats and decides |
| 2. Functions | First months | Package logic into functions and reuse it |
| 3. Files | Within a term | Open a CSV and count what it holds |
| 4. Encodings | Within a term | Name a file's encoding and explain a decode error |
| 5. Clean data | Second term | Find inconsistent spellings and fix them on purpose |
| 6. AI with checks | Later | Use AI tools and test every result they give |
Milestone 4 is the Huamanga project. Knowing why a file breaks, rather than hiding the error, is the mark of a careful programmer.
Each progress report lists skills shown in class, not hours attended.
A program that runs is not a program that is right.
Before you open a file, ask how it was saved.
More courses
From secundaria to the workplace, each one live, in English, with the same mentor all course.
AYA / S / 01
Typed Python for 9 to 12 year olds.
Open the syllabusAYA / S / 02
Two Python Institute exams, prepared step by step.
Open the syllabusAYA / S / 03
Graphs, statistics and a first predictive model.
Open the syllabusAYA / U / 01
The core of computing courses and technical interviews.
Open the syllabusAYA / U / 02
Tables, queries and design for real projects.
Open the syllabusAYA / U / 03
From cleaning to models, in Python.
Open the syllabusAYA / W / 01
Let code handle the dull, repeated parts of a job.
Open the syllabusAYA / W / 02
Inside chatbots and image tools, and building on them responsibly.
Open the syllabusAYA / W / 03
Analysis with AI help, for people who do not code.
Open the syllabusScheduling
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.
Dawn
Ayacucho's early hours fall in India's late afternoon.
Between classes
University gaps and evenings both work.
One to one
An hour that moves with your semester or shifts.
One teacher, who knows your past code.
Plain speech, key words in the chat.
You write it, run it, fix it.
Children, teens and adults apart.
What you can now do, in plain words.
Fifteen to twenty learners, or just you.
Student work
Learners who keep at it produce real tools. Some are below, and the student labs show 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
Every plan is monthly and priced in US dollars. Your card is charged in dollars and your bank applies its own soles rate, so the amount on your statement can move slightly from month to month.
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
Learners and parents on Google, quoted without edits.
★★★★★
"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
Ayacucho learners ask
No. Our teaching happens live, over the internet, in English and nothing else. Mentors speak steadily, adapt to the learner's pace and accent, write key words in the chat and accept questions in mixed English and Spanish while giving the English terms.
Yes, live online. Learners in Huamanga, Carmen Alto, San Juan Bautista, Jesús Nazareno or anywhere in the department join from a computer at home, at a relative's or in a lab.
Often, yes. Engineering, economics, biology and accounting students use Python for data and automation. We teach alongside your studies and have no connection with any university; your university decides what counts for your degree.
Yes: any laptop or desktop, because code is typed on a proper keyboard and a phone will not do. In 2025 INEI counted a computer in 20.9% of Ayacucho homes, so many learners use a shared or borrowed machine; tell us and we will plan around it.
About nine. Younger children start with Scratch blocks. There is no upper age limit; adults of any age are welcome.
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 Ayacucho all year, so 08:00 in Ayacucho is 18:30 for the mentor.
Yes, after the Python foundations. Learners move on to data science, machine learning or generative AI, always testing AI output rather than pasting it. Under-18 learners only use tools their age allows.
Learners open a real enrolment file from the Universidad Nacional de San Cristóbal de Huamanga, published as open data. It fails with a UnicodeDecodeError until they name its Latin-1 encoding, and a quick fix silently corrupts every accented letter. It teaches that a program that runs is not always right.
In US dollars, once a month, on a card; the soles amount is set by your bank. Someone browsing from India would see rupees. The trial lesson is free and asks for no card.
Where a course includes one, we issue a completion certificate in our own name. No university or ministry issues it and it is not a Peruvian degree or school qualification. If you sit PCEP, that certificate is the Python Institute's, earned in its exam.
See also
Python, university and AI pages for Peru, and how we teach.
Every Peru page, grouped by age and topic.
Learning Python from anywhere in Peru.
Python, Java and data for undergraduates.
Python for civil, mining and systems students.
The natural next step after Python.
A live class from start to end.
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 · 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 · Lima and Callao districts: Programación para niños en Ancón
Start here
In the trial you write a first program with a mentor and talk through a small puzzle. The mentor then suggests a course and a format, group or one to one, and is honest if your English or equipment means waiting a little.
To read more before booking, see how we teach or browse all courses.
WhatsApp us · +91 91233 66161 · connect@modernagecoders.com
All teaching is live from India and in English only. WhatsApp, written in English, is how to reach us fastest.
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