PBE / TEEN / 01
C++ for Teens
The other DSE language, and the olympiad one.
Open the syllabusHong Kong · Python for beginners · 13 to adult
If you have never written a line of code, the hard part of learning Python is rarely the language. It is knowing what to learn next, what the red error text means, and whether you are slow or simply normal. A beginners' course should answer those three things every week. Ours does it one to one, live online and in English, at whatever hour your Hong Kong week allows.
Teaching since 2020 · 10,000+ students worldwide · Hong Kong lessons are one to one, live and in English
What this course is
Modern Age Coders teaches Python to complete beginners in Hong Kong, from about 13 to adult, in live online lessons taught one to one in English at hours you choose. You start by installing Python and writing a first program, then learn values, decisions, loops, lists, dictionaries and functions, how to read error messages, and how to build small programs that are actually useful. Teens follow our Python for Teens course and adults our Python Masterclass. The first class is free.
Courses
Choose by age first, then by goal. All three assume you have never coded.

PBE / 01
From the very first print statement through loops, functions, lists, dictionaries and files to searching, sorting and projects. Fits beside S1 to S6 or international-school study.
Open the syllabus →
PBE / 02
Built for adults with no coding behind them: solid basics, then scripts that save office time, working with data and web services, and a project worth showing an employer.
Open the syllabus →
PBE / 03
For a beginner who wants a recognised entry-level exam as the goal: the PCEP half needs no prior programming.
Open the syllabus →Month one
Enough to write small programs on your own and to know why they fail. Here is our plan for a beginner's first eight lessons at two a week, or the first two months at one a week.
| Lesson | You learn | You leave with |
|---|---|---|
| 1 | Installing Python; running a line; print | A program that prints your name and today's plan |
| 2 | Values, variables, arithmetic, strings | A tip and bill splitter for a group dinner |
| 3 | input, converting text to numbers | A unit converter that asks before it answers |
| 4 | if, elif, else, comparisons | A simple grade or ticket-type checker |
| 5 | while and for loops | A number-guessing game with a limited number of tries |
| 6 | Lists | A shopping list you can add to and remove from |
| 7 | Dictionaries | The flashcard trainer shown on this page |
| 8 | Functions; reading error messages | Your earlier programs tidied into named functions |
Our own lesson plan for absolute beginners. One to one, it bends: an engineer who has used spreadsheets may finish it in five lessons, a fifteen year old new to typing may take twelve. Both are fine. For a longer walk through the same ground, see learn Python step by step.
Classes and objects, decorators, web frameworks and machine learning all wait. Beginners who rush there usually stall, because they cannot yet read a loop fluently. The first month is about fluency with the few things every program uses.
We also keep AI code assistants out of the first month for the same reason: you need to recognise correct code before you can judge generated code.
Files, more practice with dictionaries, then small real tasks: renaming a folder of photos, tidying a spreadsheet export, a timetable checker. Adults often bring a task from work; teens often bring one from school.
At that point your goal shapes the route: exam computing, a certificate, data, web or automation. Our Python course page for Hong Kong maps those routes.
A first language
For most beginners, yes. The official tutorial opens by calling it “an easy to learn, powerful programming language”, and the second half of that phrase matters as much as the first.
The tutorial's introduction says “Python is simple to use, but it is a real programming language”, and that “Programs written in Python are typically much shorter than equivalent C, C++, or Java programs”. Shorter programs mean fewer places for a beginner to get lost.
It is also free: the tutorial notes that the interpreter and its standard library “are freely available in source or binary form for all major platforms”. And, as the tutorial cheerfully points out, the name comes from Monty Python, “and has nothing to do with reptiles.”
Python is one of the two languages the EDB lists for the programming parts of HKDSE ICT from the 2028 exam onward, the other being C++ (Pascal also appears for the 2027 exam). It is the language of most data and AI work, and of countless office automation scripts.
If you are choosing between Python and Java as a first language, our article Python or Java first? sets out both cases.
| HKDSE year | Compulsory Part and Elective C (Algorithm and Programming) | Elective B (Web Application Development) |
|---|---|---|
| 2027 | Pascal, Python, C++ | JavaScript, PHP |
| 2028 and onward | Python, C++ | JavaScript, PHP |
Source: EDB, ICT Curriculum and Assessment Guide (S4 to 6) (2021), Appendix 3, “Programming Languages Used in Public Examination”, read against the printed page on 23 November 2026. The EDB says the list will be reviewed from time to time.
Setting up
It takes about fifteen minutes, and in our first class we do it together. These are the steps on a Windows PC or a Mac.
print("Hello from Hong Kong"), save it as hello.py.Later, many learners move to a fuller editor such as VS Code. There is no hurry; a beginner's first month needs nothing more than IDLE. If you are on a Chromebook or a work laptop that blocks installs, the mentor sets up a browser-based editor instead.
Red text
They are instructions, not insults. The tutorial explains: “There are (at least) two distinguishable kinds of errors: syntax errors and exceptions.” And the most useful sentence in it for beginners: “The last line of the error message indicates what happened.”
| Last line says | Usual cause | First thing to check |
|---|---|---|
| SyntaxError | Python could not read the line: a missing bracket, colon or quote | The line named, and the line just above it |
| IndentationError | Spaces at the start of a line do not match the block | Whether every line in the block starts at the same column |
| NameError | A name used before it was given a value, or misspelled | Spelling and capital letters |
| TypeError | Two kinds of value combined that do not fit, such as text plus a number | Whether an input was converted with int() or float() |
| ZeroDivisionError | A division by zero | Where the divisor came from |
Error names from the Python tutorial, “Errors and Exceptions” (which uses ZeroDivisionError, NameError and TypeError as its examples and notes that syntax errors “are perhaps the most common kind of complaint you get while you are still learning Python”), read 23 November 2026. The causes and checks are our own teaching notes. More on one of them: the Python indentation error explained.
In our lessons the mentor does not fix your errors. You read the last line aloud, say what you think it means, and change one thing. After a few weeks most beginners read errors faster than they can type the fix, which is exactly the point.
A first useful program
Lesson 7 in our plan builds something beginners actually use: a flashcard trainer. Words you get right move to a box you see less often; words you miss go back to the box you see every day. The whole thing rests on one Python idea, the dictionary, which the tutorial describes as “a set of key: value pairs, with the requirement that the keys are unique”.
% decides whether a box is due today.# A flashcard trainer with three boxes: a first program built on a dictionary. Our own example.
# Box 1 is reviewed every day, box 2 every second day, box 3 every fourth day.
EVERY = {1: 1, 2: 2, 3: 4}
cards = {"loop": 1, "variable": 1, "function": 1, "string": 1, "list": 1}
# What the learner got right (True) or wrong (False) each day, invented for the example.
answers = {
1: {"loop": True, "variable": True, "function": False, "string": True, "list": False},
2: {"loop": True, "variable": False, "function": True, "string": True, "list": True},
3: {"variable": True},
4: {"loop": True, "variable": True, "function": True, "string": True, "list": False},
}
for day in range(1, 5):
due = [w for w, box in cards.items() if day % EVERY[box] == 0]
for word in due:
if answers[day].get(word, True):
cards[word] = min(cards[word] + 1, 3)
else:
cards[word] = 1
boxes = {b: sorted(w for w, x in cards.items() if x == b) for b in (1, 2, 3)}
print(f"day {day}: reviewed {len(due)} -> box1 {boxes[1]} box2 {boxes[2]} box3 {boxes[3]}")Our own program, written for this page. The answers are invented so the run is repeatable. The output below is exactly what Python 3 printed.
day 1: reviewed 5 -> box1 ['function', 'list'] box2 ['loop', 'string', 'variable'] box3 [] day 2: reviewed 5 -> box1 ['variable'] box2 ['function', 'list'] box3 ['loop', 'string'] day 3: reviewed 1 -> box1 [] box2 ['function', 'list', 'variable'] box3 ['loop', 'string'] day 4: reviewed 5 -> box1 ['list'] box2 [] box3 ['function', 'loop', 'string', 'variable']
On day 3 only box 1 is due, so only "variable" is reviewed. On day 4 every box is due (4 divides by 1, 2 and 4); "list" is missed and drops straight back to box 1, while the other four reach box 3.
It uses only what a beginner has met by lesson 7: a dictionary, a loop, an if, a comparison and the remainder. Yet it does something real, and many of our adult learners keep using it for vocabulary, exam terms or work jargon.
It also rewards prediction. Before running it, the mentor asks: which words will be due on day 4? If your answer matches the output, you understand the program.
Forgetting min(..., 3), so cards climb to box 4 and are never seen again. Writing cards[word] + 1 without assigning it back. Spelling a word differently in two places, which a dictionary treats as two different keys.
Each mistake produces a wrong printout rather than a crash, which makes it the best kind of bug to learn from: the program runs, and you have to notice.
input() so the program asks you each word.Alone or taught
Plenty of people learn alone, and the official tutorial is free. A course earns its place when you keep stopping, when you cannot tell whether your code is good, or when your time is short and you need someone to choose the next step for you.
| On your own | With a one-to-one tutor | |
|---|---|---|
| Cost | Free | A monthly fee |
| Order of topics | You choose, often by trial and error | Planned around you, changed when needed |
| When you are stuck | Search, forums, patience | Someone sees your screen and asks the right question |
| Feedback on your code | Rare | Every lesson |
| Keeping going | Depends on willpower | A fixed weekly time you have agreed to |
Our own comparison. Many Hong Kong learners also look at subsidised local courses: we are not registered under the Continuing Education Fund, so our fees are not reimbursable through it.
A sensible middle path is to start alone with the tutorial for two weeks. If you are still going, keep going. If you have stopped twice, a tutor is probably worth it. For a structured self-study route, our Python from the ground up page lays out a sequence.
Pace
Long enough to write small useful programs: usually two to three months at one or two lessons a week with practice between. Long enough to call yourself fluent: closer to a year. These are our observations, not promises.
| After about | Most beginners can | Often slower if |
|---|---|---|
| 4 weeks | Write programs with input, decisions and loops | Practice is skipped between lessons |
| 3 months | Use lists, dictionaries and functions; read most errors | Lessons are often missed |
| 6 months | Work with files and build small tools for school or work | There is no project to aim at |
| 10 to 12 months | Finish a portfolio project; attempt the PCEP if wanted | Goals keep changing |
Our own estimates from teaching beginners. The PCEP is the Python Institute's exam, which it describes as “an entry-level certification with no prerequisites” (35 questions, 50 minutes, pass mark 70%, per its page read 23 November 2026). See PCEP preparation and how long it takes to learn Python.
Age changes pace less than people think. A thirteen year old and a forty year old start in the same place; the forty year old often has less time and more patience. What predicts progress best is twenty minutes of practice on most days, not long weekend sessions.
English and one to one
Because a beginner's questions are specific to their own screen, and because Python, its documentation and its error messages are all in English.
Hong Kong learners are taught one to one only. That suits beginners especially: there is nobody to keep up with, no question too small, and the mentor can slow down on loops or skip ahead past what you already know from spreadsheets.
Adults often book late evening lessons after work; teens usually book after school or at weekends.
Everything in Python is named in English: print, input, while, every error type. Mentors speak at an easy pace and type new terms in the chat; you explain your programs back in English.
There is no Cantonese or Mandarin teaching. More in coding classes taught in English.
| Hong Kong | India | Often chosen by |
|---|---|---|
| 8:30 pm, weekday | 6:00 pm | Adults after work and dinner |
| 9:30 pm, weekday | 7:00 pm | Adults with long office hours |
| 9:00 am, Sunday | 6:30 am | Teens and adults who prefer mornings |
Hong Kong (UTC+8) and India (UTC+5:30) both keep the same offset all year, so lessons are always two and a half hours apart on the two clocks (IANA time zone database). These are example times of ours, not a timetable.
Progress
Our own checkpoints for beginners, used for placement and monthly notes. They are not a certificate level.
| Checkpoint | You can | Test yourself |
|---|---|---|
| 1. Run | Install Python, run a file, print results | Make a program print three lines |
| 2. Decide | Use input, if and comparisons correctly | Write a checker that rejects bad input |
| 3. Repeat | Write loops that stop when they should | A guessing game with limited tries |
| 4. Organise | Use lists, dictionaries and functions | Rebuild the flashcard trainer from memory |
| 5. Read errors | Find a bug from the last line of an error | Fix three planted bugs without help |
| 6. Build | Plan and finish a small useful program | A tool you use at least once a week |
Explain your program to someone at home. If you cannot, you copied it.
Type everything. Pasting teaches your fingers nothing.
Pick one dull task from work and automate it by month three. Nothing motivates like saved time.
Checkpoint 5 is where confidence arrives: errors stop being frightening.
More courses
All live and in English; Hong Kong learners take each one privately, one to one.
PBE / TEEN / 01
The other DSE language, and the olympiad one.
Open the syllabusPBE / TEEN / 02
Using AI tools well, and knowing their limits.
Open the syllabusPBE / TEEN / 03
Building with AI help once the basics are solid.
Open the syllabusPBE / ADULT / 01
Scripts for office work, files and reports.
Open the syllabusPBE / ADULT / 02
Python, statistics and real data sets.
Open the syllabusPBE / ADULT / 03
Full-stack projects with AI, reviewed properly.
Open the syllabusPBE / LANG / 01
Objects and structure from the start.
Open the syllabusPBE / LANG / 02
Web pages first, programming next.
Open the syllabusPBE / LANG / 03
Where Python leads once the basics hold.
Open the syllabusHow classes run
Any day, any time, flexible: one to one at the hour that suits your family, weekdays or weekends. Adults book for themselves in exactly the same way. You work on your own computer, sharing your screen with a mentor in India, where clocks run two and a half hours behind Hong Kong.
After work
8:30 pm in Hong Kong; 6 pm for the mentor.
Late evening
A 9:30 pm start is 7 pm in India.
Weekend morning
Sunday at 9 am, or any weekend hour you prefer.
Each lesson adds a single new idea and practises it.
Nothing is pasted; the mentor watches and asks.
You say what will print before you press F5.
The last line of each error is read aloud and acted on.
Every file is saved, so you can see how far you have come.
A short practice task follows each lesson.
Student work
Projects from learners on our longer courses. More in the student labs.

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
Billing is monthly and the amount is shown in Hong Kong dollars. You never pay for months ahead, and if a payment-gateway charge applies you will see it before paying. Python itself is free to download.
Free first class
Free
no card required
One to one
$1,200 HKD
a month, eight live classes
What families say
Google reviews from students and parents, reproduced as written.
★★★★★
"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
Questions from beginners in Hong Kong
Yes, entirely. Mentors teach live from India at a calm pace and type new terms in the chat. Python and its error messages are in English anyway; Cantonese and Mandarin are not used.
Always. Every Hong Kong learner has private lessons with one mentor who stays with them.
Any day, any time, flexible: one to one at the hour that suits your family, weekdays or weekends. India is two and a half hours behind Hong Kong all year, so a 9:30 pm lesson in Hong Kong is 7 pm for the mentor.
Yes. Beginners need school arithmetic and patience, nothing more. Most of programming is careful thinking in steps, which improves with practice like anything else.
This page is for learners from about 13. Children of 9 to 12 have their own Python course with turtle drawings and games.
The latest Python 3 from python.org. On 23 November 2026 that page offered 3.15.2. Any recent 3.x version is fine for beginners.
At the end we issue our own certificate of completion. If you want an independent credential, the PCEP from the Python Institute is an entry-level exam we can prepare you for; we never promise a pass.
OpenAI does not offer ChatGPT in Hong Kong, so it is not part of our course. AI tools offered in Hong Kong or provided by your school or employer can help later, carefully: in the first month we ask you to type everything yourself so you learn to read code. Under-18s also follow each tool's own age rules.
No. Our courses are not on the Continuing Education Fund's list of reimbursable courses, so fees cannot be claimed back through it.
Monthly, in Hong Kong dollars, with no payment for later months in advance. Any payment-gateway charge is shown before you pay. The first class is free.
Related
From choosing a route to fixing your first errors.
Every Python route: exams, olympiad, certificates, work.
Our courses for Hong Kong, by age.
A plain-English introduction to the language.
The error every beginner meets.
Where Python leads next.
How our monthly fees work.
Part of the guide: Every Hong Kong page
More guides: Coding and AI classes in Hong Kong · 中文:英文授課編程課程 · Start here: Online coding for kids · AI, vibe coding and AI agents: AI agents course · By age and school level: Adults · HKDSE ICT and maths: DSE ICT elective guide · IB, IGCSE, A-level and SAT: A level Computer Science tutor · Olympiads and competitions: AMC 10 preparation · Guides for families: After-school coding · School holidays: AI summer course · Districts and areas: Causeway Bay
Start here
In the free lesson we install Python together, you write and break your first program, and the mentor suggests a plan for your next month based on your goal and the hours you really have.
Reading first? The teen course is on the Python for Teens page, the adult course on the Python Masterclass page.
WhatsApp us · +91 91233 66161 · connect@modernagecoders.com
Live, online and one to one, in English, with mentors in India. WhatsApp gets the quickest reply.
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