Trujillo · Live online, in English · Primaria to university

Coding classes in Trujillo, Peru

Trujillo is a city of universities, and many of its children will one day study engineering, computing or economics a short bus ride from home. This page follows that path from the first Scratch game in primaria to the first year at university, compares the two school days a Trujillo teenager may have, and ends with a project on the electricity bills of Trujillo province.

Live classes online since 2020 · 10,000+ students taught worldwide · mentors who adjust to every learner

In one paragraph

Learners in Trujillo, Peru, can study coding with Modern Age Coders live online and in English. Six year olds begin with Scratch and move to typed Python at about 9; secundaria students go on to Python, Java, data science and contest problem solving; university students in Trujillo add Java, data structures and algorithms; and adults learn Python, data analysis or AI agents. Lessons run with a real mentor on camera, for a class of fifteen to twenty or a single learner, at whatever hour the family sets.

Start here in Trujillo

Where most Trujillo learners begin

A first course for children, one for secundaria students who want more than school gives, and one for those already at university.

Trujillo in figures

How many people live in Trujillo, and in which districts?

More than a million people live in the province of Trujillo, according to INEI's 2025 census, and the city itself spreads across several of its twelve districts. The table separates each unit and gives each its own year.

Trujillo by the unit INEI counts
UnitPopulationYear and source
Department of La Libertad2,056,4452025 census
Province of Trujillo (12 districts)1,090,0012025 census
District of Trujillo (the historic centre)307,5422025 census
District of La Esperanza211,1732025 census
District of El Porvenir113,3442025 census
District of Huanchaco92,3242025 census
District of Alto Trujillo85,3232025 census
District of Víctor Larco Herrera81,9012025 census
Trujillo city (urban area)919,8992017 census

INEI figures: Censos Nacionales 2025, table 1 of the Indicadores demográficos (total population, 15 September 2025), and the 2017 capital-cities table in INEI's Perfil Sociodemográfico (table 1.9). INEI had published no 2025 figure for cities when we looked in November 2026. Rows overlap and must never be added.

A centre and its neighbours

The district called Trujillo holds the historic centre and 307,542 people, but La Esperanza to the north is not far behind at 211,173, and El Porvenir, Alto Trujillo and Florencia de Mora climb the eastern side. Víctor Larco Herrera and Huanchaco run towards the sea.

A family in Alto Trujillo and a family in Víctor Larco live in the same city but may be an hour apart in traffic. Our classes reach both in the same minute.

Smaller places close by

Laredo, Moche and Salaverry, each with between about 29,000 and 53,000 people, sit within the province, as do the small inland districts of Simbal and Poroto. Further out, the provinces of Ascope, Virú and Pacasmayo send many students into Trujillo every day.

Wherever a learner lives, the class is the same: a mentor, a screen, and a problem to work through. Our page on coding and AI classes across the La Libertad region covers the rest of the department.

From primaria to university

What should a Trujillo child learn first, and what comes after?

Begin with play, then with typing, then with depth. The route below is our own, and a learner joins it at whatever point fits their age and experience.

A coding route for Trujillo learners (our courses and ages)
Stage of lifeAgeCourse to takeWhat they can do at the end
Early primaria6 to 8Coding for Kids (Scratch)Build a game with a score and a timer
Late primaria9 to 12Python and AI for Kids, or Roblox codingWrite a typed program with functions
Early secundaria12 to 14Python for TeensRead a data file and summarise it
Late secundaria15 to 17Java for Teens, Problem Solving, Data ScienceSolve contest-style problems and test their code
University17 and overJava for University, DSA, Python masterclassPass course projects and prepare for interviews
Work and later lifeAny adult ageData analysis, AI coding agentsAutomate a task at work and check the result

Routes and ages are ours. A learner can skip a stage: a fifteen year old with no experience starts at Python for Teens, not at Scratch.

Ages 6 to 12

Children learn with others of the same age, in short sessions full of making. In Scratch they snap blocks into stories and games; from about nine they type Python and see why spelling matters to a computer.

Ages 13 to 17

Secundaria is where depth pays off. A teenager who spends a year on Python and then Java arrives at university already able to plan a program, test it and explain it, which is what first-year projects actually ask for.

Undergraduates and adults

Trujillo's students often meet Java and data structures in the first years of a degree. We teach them at the learner's pace, alongside the course, and adults use the same classes to move into data or automation.

For families of secundaria students, our national page on coding classes for teens in Peru describes the teen courses in more depth, and Spanish-speaking parents of younger children can read clases de programación para niños en inglés.

The school week

Does a Trujillo school timetable leave room for coding?

It depends on the school day. Public secundaria in Peru runs on two models, the regular day (JER) and the full day (JEC), and neither includes a computing subject.

Weekly teaching hours in each secundaria grade, two school-day models (CNEB)
AreaRegular day (JER)Full day (JEC)
Matemática46
Educación para el Trabajo23
Total per week3545
Computing or programmingNoneNone

Source: MINEDU, Currículo Nacional de la Educación Básica, plans of study for secundaria. One teaching hour lasts 45 minutes. Digital competency 28 is transversal across all areas rather than a subject.

What the longer day changes

A student on the full day has ten more teaching hours a week, with six of mathematics instead of four. That is good for maths, and it also means late afternoons are taken. Families on JEC often prefer a coding class early in the morning or at the weekend.

Neither model gives programming its own hours. Some schools use their free-disposal hours for workshops, which differ from one school to the next.

Where coding fits

We do not replace school maths, and we do not teach for school marks. What a weekly coding class adds is a place where the maths a student already knows turns into something that runs, and where a wrong answer shows up on the screen straight away.

That is also why secundaria students in La Libertad who enter the ONEM often enjoy coding: in 2026, the regional education office reported 177,797 secundaria students from 936 schools taking part in the first round.

A university city

Which universities do Trujillo students go to, and what do they need?

Trujillo is home to a large public university and several private ones. Their own figures, reported to SUNEDU and collected by INEI, show how many students study there.

Undergraduate enrolment in 2025 at three Trujillo universities
UniversityStudents enrolled, 2025Type
Universidad Nacional de Trujillo14,963Public
Universidad Católica de Trujillo Benedicto XVI9,748Private
Universidad Privada de Trujillo2,410Private

Source: INEI, Compendio Estadístico Perú 2026, tables 5.66 (public universities) and 5.67 (private universities), with data from SUNEDU's university information system. The same compendium counts 2,866 new entrants to the Universidad Nacional de Trujillo in 2025. Other universities with campuses in the city are not listed here, and we are not connected with any of them.

Before university

Admission exams are set by each university, in Spanish, and decided by the university alone. We do not prepare students for them. What we can give a student in 4° or 5° de secundaria is a solid year of programming and reasoning, so that a computing or engineering degree starts from strength.

Students who enjoy competition can also try the OPI, the Peruvian computing olympiad run by UTEC, which is free for every secundaria student in the country. Its 2025 rules allowed only C++ in the in-person final and banned generative AI for solving problems.

During university

First-year computing courses at most universities move fast through variables, loops and objects. Undergraduates who fall behind in Java or data structures often need someone who explains the same idea three different ways; a live mentor can do that.

We teach alongside the degree, never instead of it, and we do not write students' assessed work. Our page for university students in Peru sets out the Java, Python and DSA courses in more detail.

Taught in English

Are the classes in Spanish?

No. Lessons are given only in English, live and online, by mentors in India who keep their English clear and simple and slow down whenever a learner needs it.

Trujillo and English

EF's 2025 English Proficiency Index gives Trujillo city a score of 519, which EF calls moderate and which is exactly level with Peru's national score. Lima city scores 555. Many Trujillo teenagers can follow a lesson in English; younger children usually need more support at first.

Mentors give that support: they show before they explain, write key words on the screen, and ask the learner to say back what they understood.

Why English helps a programmer

The documentation, forums and error messages that a university student will rely on are in English. A learner who is used to reading "IndexError: list index out of range" calmly, and working out what it means, has an advantage in any computing degree.

Families also tell us that English practice comes with the code: an hour of explaining a program to a mentor is an hour of speaking English with a purpose.

A real Trujillo project

Who uses the electricity in Trujillo, and what does a typical home use?

Hidrandina, the company that supplies electricity in La Libertad, Ancash and Cajamarca, publishes every customer's monthly consumption as anonymised open data. Our teenagers and adults use one month of it to learn why an average can describe nobody.

The data

The dataset is "Consumo energético de clientes Hidrandina", published by Hidrandina (Distriluz) on datosabiertos.gob.pe under an Open Data Commons Attribution licence (ODC-By), first released on 28 December 2022 and updated on 18 June 2026. We took the July 2025 file on 9 November 2026: 1,046,671 rows separated by semicolons, about 207 megabytes.

Each row is one supply, usually one home or business, with its tariff, district, a "cartera" column that the data dictionary explains as Común (residential) or Mayor (business), and the kilowatt-hours billed. Names, addresses and ID numbers are masked by the publisher, and we use none of them.

The question

How much electricity does a home in Trujillo use in a month? The quick answer is to add up all the kilowatt-hours in Trujillo province and divide by the number of supplies.

Version 1 does that. It also reads the file one line at a time, which matters: a file of this size would fill a school laptop's memory if it were loaded all at once.

Version 1: total, count and averagePython
import csv

supplies = 0
total = 0.0
biggest = 0.0
with open("DatosAbiertos_consumohdna_202507.csv", encoding="utf-8-sig") as bills:
    for row in csv.DictReader(bills, delimiter=";"):
        if row["Provincia"] == "Trujillo":
            kwh = float(row["ConsumosCalculados"])
            supplies += 1
            total += kwh
            biggest = max(biggest, kwh)

print("Supplies in Trujillo province:", supplies)
print("Average per supply, kWh:", round(total / supplies, 1))
print("Largest single supply, kWh:", round(biggest))

It prints Supplies in Trujillo province: 298472, Average per supply, kWh: 186.8 and Largest single supply, kWh: 578105.

The largest supply used 578,105 kWh in one month, more than three thousand times the average. A few supplies like that pull the average up a long way. So the next step is to sort every supply from largest to smallest and ask what share of all the electricity the top 1% uses.

Version 2: how concentrated is it, and what is a typical home?Python
import csv
import statistics

kwh = []
homes = {}
with open("DatosAbiertos_consumohdna_202507.csv", encoding="utf-8-sig") as bills:
    for row in csv.DictReader(bills, delimiter=";"):
        if row["Provincia"] == "Trujillo":
            value = float(row["ConsumosCalculados"])
            kwh.append(value)
            if row["Cartera"] == "C":          # C = comun (residencial)
                homes.setdefault(row["Distrito"], []).append(value)

kwh.sort(reverse=True)
top = len(kwh) // 100
share = 100 * sum(kwh[:top]) / sum(kwh)
print("Top 1%:", top, "supplies use", round(share, 1), "% of the kWh")
print("Middle supply of all:", statistics.median(kwh), "kWh")
for district in ["Trujillo", "La Esperanza", "El Porvenir", "Victor Larco Herrera"]:
    print(district, "middle home:", statistics.median(homes[district]), "kWh")

It prints Top 1%: 2984 supplies use 36.0 % of the kWh, Middle supply of all: 84.0 kWh, then Trujillo middle home: 107.0 kWh, La Esperanza middle home: 80.0 kWh, El Porvenir middle home: 59.0 kWh and Victor Larco Herrera middle home: 120.0 kWh.

One month of electricity in Trujillo province, July 2025 bills (our calculation)
Group of suppliesHow manyShare of all kWh
Largest 0.1%29820.4%
Largest 1%2,98436.0%
"Mayor" (business) customers1,04424.6%
All supplies298,472100%

Data: Hidrandina (Distriluz), Consumo energético de clientes Hidrandina, datosabiertos.gob.pe, ODC-By. July 2025 billing period, Trujillo province only. Shares, medians and counts are ours. 21,646 supplies were billed zero kWh that month. The file also contains billed amounts, which we do not use or print.

Three numbers now tell the story. The average supply used 186.8 kWh, but the middle supply, the median, used 84. Fewer than three thousand supplies, mostly businesses and large sites, account for more than a third of the electricity. And once we keep only residential supplies and compare like with like, homes in different districts differ too: the middle home in Víctor Larco Herrera used 120 kWh, in El Porvenir 59. The file cannot say why, whether household size, appliances or something else, and a careful analyst says so rather than guessing.

  1. Ages 9 to 12, on paper. Ten children have 2, 2, 3, 3, 3, 4, 4, 5, 5 and 200 marbles. Work out the average and the middle value. Which one describes a typical child?
  2. Ages 12 to 14, in Python. Put those ten numbers in a list, sort it and print what share of all the marbles the top child holds.
  3. Ages 14 and over. Change Version 2 to print the share used by the top 10% and the top 0.1%. Where does the curve flatten?
  4. Going further. Count how many supplies in each district were billed zero kWh, and decide whether they belong in the "typical home" figure.
  5. University students and adults. Write the two-sentence summary you would give a journalist, with no number that could mislead.

Class times

At what time can a Trujillo learner have class?

At the hour you choose. Trujillo runs on Peru time all year, and the mentor fits the class around school, university or work.

Peru time in Trujillo and the same moment in India (conversions only)
TrujilloIndiaNote
07:3018:00Same date
09:3020:00Same date
12:0022:30Same date
14:3001:00Next date in India
17:3004:00Next date in India
21:0007:30Next date in India

Time zones: America/Lima is five hours behind UTC and Peru has had no daylight saving since 1994 (IANA tz database; INACAL holds the legal hour). Asia/Kolkata is five and a half hours ahead of UTC. The difference is a steady ten and a half hours.

A student on the full school day might take class at 07:30 before leaving home; an undergraduate might prefer the evening after lectures; a working adult might pick a weekend morning. The slot you book stays put all year because neither country moves its clocks, and you always choose it in Trujillo time.

Milestones

Milestones on the way from first game to real data

Our own milestones. They help us place a new learner and help families see what has changed after a term.

From blocks to judging a number (ours)
MilestoneOften aroundShown when the learner can
1. Make it moveAge 6 or 7Order blocks so a character walks, jumps and stops
2. Keep scoreAge 7 to 9Use a variable that goes up, down and resets
3. Type itAge 9 to 12Type Python that repeats, decides and reuses its own functions
4. Read a fileAge 12 to 15Open a real dataset and count rows that match a rule
5. Summarise honestlyAge 14 to adultChoose between average and median and say why
6. Scale upAge 16 to adultProcess a file too big to load at once, line by line

For parents

Milestones 5 and 6 are what the Hidrandina project practises. They are the difference between quoting a number and understanding it.

Each term ends with something your child can open and explain to you.

For learners

One huge value can move an average a long way. Look at the middle too.

Before you compare groups, make sure you are comparing the same kind of thing.

More courses

Nine more courses for Trujillo learners

Arranged by age. Every course is taught live, in English, by a regular mentor, for a group or a single learner.

I

Children

Ages 6 to 14

TRU / KIDS / 01

Coding for kids

Scratch games and stories for 6 to 12 year olds, with no typing at first.

Open the syllabus

TRU / KIDS / 02

Game development for kids

Children design, build and test small games of their own.

Open the syllabus

TRU / KIDS / 03

Mental maths

Quick, confident calculation that supports school maths.

Open the syllabus
II

Secundaria

Ages 13 to 18

TRU / TEEN / 01

Python for teens

From zero to files, data and projects across a school year.

Open the syllabus

TRU / TEEN / 02

Java for teens

Objects and full programs, a head start on university Java.

Open the syllabus

TRU / TEEN / 03

Data science for teens

Charts, summaries and a first model, for those who know some Python.

Open the syllabus
III

University and adults

Ages 17 and over

TRU / ADULT / 01

MySQL databases

Tables, queries and joins, as used in university projects and at work.

Open the syllabus

TRU / ADULT / 02

Python masterclass

From first steps to advanced Python for students and professionals.

Open the syllabus

TRU / ADULT / 03

AI-assisted building for students

Full-stack projects with AI tools, checked line by line by the student.

Open the syllabus

How it works

What a week of classes looks like from Trujillo

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.

Early start

A class before school or lectures, in the Indian evening.

Later in the day

Afternoon, evening or weekend hours, as your week allows.

Just one learner

A personal slot and pace agreed directly with the mentor.

Same mentor

Week after week, someone who remembers last week's bug.

Clear English

Plain words, shown on screen, with time to reply.

Learner at the keyboard

Every line is typed by the student, not the teacher.

Right age group

Children, teenagers, students and adults learn apart.

Short reports

Families hear what was made and what is next.

Two formats

A class of fifteen to twenty, or private lessons.

Student work

Projects from students who stayed the course

After a year or two, students build things others can use. Some are below; the student labs hold the rest.

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 learners in Trujillo

You pay month to month. Our fees are fixed in US dollars and your card is billed in dollars; the bank behind your card turns that into soles at its own rate, so the soles amount can move slightly from month to month.

Free first class

Free

no card required

  • One free class first
  • A puzzle and a small program
  • No card needed
Book it

Group batch

$100 USD

a month, eight live classes

  • A class of fifteen to twenty, similar ages
  • One mentor throughout
  • Two live classes weekly
  • Month by month, cancel any time
Start here

One to one

$150 USD

a month, eight live classes

  • A mentor just for your learner
  • Pace and projects set around them
  • Days and hours you decide
Enquire

What families say

Rated 4.9 across 547 Google reviews

What parents and students wrote about us on Google, unedited.

★★★★★

"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

Trujillo families ask

Coding classes in Trujillo: questions and answers

Are the classes in Spanish?

No. Our classes are taught in English only, live and online. Mentors keep their language simple, repeat when asked and adapt to how each learner speaks, so a Trujillo child still building their English can follow. A word in Spanish is fine; the mentor answers with the English word.

Is there a coding school I can visit in Trujillo?

We have no building in Trujillo or anywhere in Peru. Every class happens live over video, so learners in La Esperanza, Huanchaco, El Porvenir or the centre join in exactly the same way from home.

What age is best to start?

Any age from six. Young children start with Scratch and move to typed Python around nine; teenagers and adults with no experience start with Python in their own age group. It is never too late: some of our learners are in their sixties.

My child is on the full school day (JEC). When could classes fit?

Many JEC families choose an early morning slot, before school, or a weekend. 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.

Can you help a student at the Universidad Nacional de Trujillo?

We teach Java, Python, data structures and algorithms alongside any degree, at the student's pace. We are not connected with the UNT or any other university, and we do not complete assessed work for students.

Do you prepare students for university admission exams?

No. Admission exams are set in Spanish by each university, which alone decides who is admitted. A year of programming and problem solving does build the careful reasoning that any maths paper rewards.

Is there a computing olympiad for Trujillo students?

Yes, the OPI, organised by UTEC and free for all secundaria students in Peru. Under its 2025 rules the final allowed only C++ and banned generative AI. We teach with our own problems and are not connected with the organiser.

What does a month cost, and in what currency?

The monthly fee appears on this page in US dollars and is charged in dollars; your bank turns it into soles. Visitors from India see the fee in rupees. The trial class costs nothing and needs no card.

Will my child get a certificate?

Courses that offer one end with a Modern Age Coders certificate of completion. It is ours alone, with no link to MINEDU, a university or a school, and it is not a Peruvian qualification.

Can adults in Trujillo join?

Yes. Adults learn in adult groups, usually starting with Python and moving to data analysis, databases or AI coding agents, at hours that fit around work.

Elsewhere on this site

Related pages

More for Trujillo families and students.

Coding and AI classes in Peru

The Peru guide and every page in it.

La Libertad region

Provinces beyond Trujillo.

Java course in Peru

Java for school and university students.

Python for 10 year olds

What a ten year old's Python looks like.

AI classes for teenagers

AI for secundaria, with age rules respected.

How we teach

Inside one of our live classes.

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 · 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

Try a free class from Trujillo

The trial is a real lesson: a puzzle, a short program and a conversation. By the end the mentor knows the learner's level and comfort in English, and recommends a course and a group.

To read more first, see how we teach, or browse every course and its syllabus.

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

Classes are live online, with mentors in India, and in English only. For a quick answer, write to us on WhatsApp in English.

Free, with no card and no 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

Coding classes in nearby places

Learn more

Free resources

From the blog

Start here

Free classPriority demoCall us