All coding programs for teens
Beginner · Ages 13–17 AI Track · Step 1 of 2

AI Coding Classes for Kids & Teens AI & Python

Your child already uses AI every day. Now let them build one.

AI coding classes for kids and teens: build your own language model from scratch — the idea behind LLMs like ChatGPT, in your own Python code.

10 lessons Online or in-person · 1.5 hours per lesson Max 6 students S$890 full course · free trial first

// overview

About This Course

Almost every AI coding class for kids and teens teaches them how to use AI — better prompts, clever tricks, someone else's chatbot. This one doesn't. Over 10 lessons, students write their own text generation engine in Python, line by line, until they understand exactly what a language model is doing when it writes.

They start in lesson one with a program that produces nonsense, then spend the course making it smarter: teaching it to learn from real text, to make choices, to remember context, to break words into pieces, to turn meaning into numbers. Each step is a little more Python and one big idea from how real AI works.

This is AI for beginners — no coding experience needed. Here, the engine is the reason to learn Python — not the reward for already knowing it. Throughout the course, students also get access to DotCode AI, our own platform for exploring and comparing the latest AI models from leading providers. Classes run live — in person at our Jurong East studio at Blk 135 Jurong Gateway Rd, or online. This course is one of our coding programs for teens aged 13–17.

// holiday camp · Nov–Dec 2026

AI & Python Holiday Camp: one week in the holidays

Monday to Sunday, 2 hours a day, in person at our Jurong East studio or live online. S$686 for 14 hours of class. Tap a week to message us on WhatsApp, with the dates already typed for you.

See all holiday coding camps

// skills

What Your Child Will Learn

Prediction & Probability

Every AI model is really answering one question over and over: what comes next? Your child builds that machinery themselves and learns to think in likelihoods rather than certainties — the maths behind weather forecasts, medicine, and risk.

Data & Structure

A model is only as good as what it learned from. Students load real text, clean it, and organise it into structures the program can use — the unglamorous work sitting underneath every AI system in the world.

Patterns & Loops

Generating a sentence means repeating one small decision hundreds of times. Loops turn a single rule into an entire behaviour — and spotting that pattern is the shift from typing code to thinking like a programmer.

Testing & Debugging

Their engine will repeat itself, crash on unseen words, and write gibberish. Rather than giving up, your child learns to form a theory about why, test it, and fix it — the patience every builder needs.

Knowing When Not to Trust It

The part most AI courses skip. Once your child has built a model that confidently produces nonsense, they understand in their bones why a chatbot can sound certain and still be wrong. That's not a coding skill — it's judgement, and it's the one they'll use every day for the rest of their lives.

// curriculum

The Learning Journey

10 lessons · 6 modules · every module ends with a working project

1

Python Foundations

Set up a real development environment and learn the building blocks: variables, lists, loops, and printing. Everything is taught on text from day one, so students finish this module with a program that strings words into sentences — badly. That failure sets up the rest of the course.

2

Learning What Follows What

Students load a real book, song, or script and count which word follows which across thousands of words, then walk that table to generate text. This is the first thing their program has learned rather than been told. Python: dictionaries, reading files, and cleaning up messy text.

3

Chance & Creativity

Always picking the likeliest word makes the program loop forever. Students switch to weighted random choice and the text starts reading like broken English — then add a temperature dial controlling how safe or wild the output gets. Python: functions, parameters, and organising code that has grown too big.

4

Context & Tokens

Look back at three words instead of one and the writing sharpens, then starts copying the source verbatim. Students meet context windows and memorisation, then rebuild the model on letters instead of words — and finally get a real answer to why AI miscounts the letters in "strawberry". Python: tuples, nested loops, and slicing strings.

5

Meaning as Numbers

Words become vectors. Students measure how close two words are and see how a model can work out that "king" and "queen" are related without being told — then use DotCode AI to give the same prompt to real frontier models and compare how differently they respond. Python: working with lists of numbers and pulling data in from the internet.

6

Build Your Own & Demo Day

Students pick their own training text and build something with it — a lyric generator, a story machine, a bot that writes like their favourite author — then present it, explaining what it gets right, what it gets hilariously wrong, and why. Python: splitting code into modules and debugging a project they designed.

// toolbox

Tools They'll Use

Python 3

Python for AI — the same language professional machine-learning engineers use.

VS Code

The same professional code editor used by developers everywhere.

Project Gutenberg

A free library of thousands of books — the training data students feed their engine.

DotCode AI

Our student AI platform — explore and compare the latest models from leading AI providers, and put the concepts learned in class to the test.

// the course

The Course at a Glance

10 lessons
1.5 hours per lesson
13–17 years old, beginners welcome
S$890 full course · free trial first

Try it free first

Book a free trial lesson — your child writes their first text generator and watches it produce nonsense, and you see exactly how we teach before committing to anything.

Book a Free Trial Lesson

// outcomes

By the End of the Course

By the end, your child walks away with an AI they built themselves — and the rare ability to explain exactly how it works.

  • A working text generation engine, written entirely by your child
  • A personal AI project trained on text they chose themselves
  • Solid Python foundations — enough to keep building independently
  • A genuine mental model of how ChatGPT and similar tools work
  • Code published on GitHub as a portfolio piece
  • Ready for the follow-on course, AI Image & Video Generation

// questions

AI & Python: FAQ

Do you run AI classes for kids in Singapore?

Yes — our AI classes are for kids and teens aged 13–17, in person at our Jurong East studio or live online from anywhere in Singapore. Younger children (7–12) usually start with our Roblox coding course to build programming foundations first, then move on to AI when they're ready.

Is the AI course suitable for complete beginners?

Yes — this is AI for beginners, with no coding or AI experience needed. Students write their first line of Python in lesson one and finish with a language model of their own: 10 lessons of 1.5 hours each, in small groups of up to 6.

Why learn Python for AI?

Python is the language most AI is built with. Students learn Python for AI by actually using it — dictionaries to learn which word follows which, weighted random choice for sampling, and lists of numbers for word embeddings.

Will my child just learn to use ChatGPT?

No. Students build their own text generator so they understand how LLMs like ChatGPT really work, then use DotCode AI to compare the latest models side by side. Classes run live in person at our Jurong East studio or online.

What comes after the AI & Python course?

Students who finish AI & Python can move on to AI Image & Video Generation, an 8-lesson follow-on course where they turn their text generator into a picture generator and build the idea behind Midjourney, DALL·E and Sora from scratch.

Is there a holiday camp for AI & Python?

Yes. The AI & Python Holiday Camp runs every week from 23 Nov to 27 Dec 2026: one week, Monday to Sunday, 2 hours a day, in person at our Jurong East studio or live online. It costs S$686 for 14 hours of class. Unsure? Book a free trial class before the camp to test it out.

Ready to Start Building?

Book a free 45-minute trial class. No commitment, no credit card — just great learning.