Hong Kong · Python for beginners · 13 to adult

Python course for beginners in Hong Kong

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

Which beginner Python course should I choose?

Choose by age first, then by goal. All three assume you have never coded.

Month one

What should a Python course for beginners cover in the first month?

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.

A beginner's first eight Python lessons (our plan)
LessonYou learnYou leave with
1Installing Python; running a line; printA program that prints your name and today's plan
2Values, variables, arithmetic, stringsA tip and bill splitter for a group dinner
3input, converting text to numbersA unit converter that asks before it answers
4if, elif, else, comparisonsA simple grade or ticket-type checker
5while and for loopsA number-guessing game with a limited number of tries
6ListsA shopping list you can add to and remove from
7DictionariesThe flashcard trainer shown on this page
8Functions; reading error messagesYour 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.

What we deliberately leave out

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.

What changes after month one

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

Is Python a good first programming 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.

What the Python documentation says

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.”

Where it is used in Hong Kong

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.

Languages for the HKDSE ICT programming parts, by exam year
HKDSE yearCompulsory Part and Elective C (Algorithm and Programming)Elective B (Web Application Development)
2027Pascal, Python, C++JavaScript, PHP
2028 and onwardPython, 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

How do I install Python and write my first program?

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.

  1. Download from python.org only. On 23 November 2026 the download page offered Python 3.15.2. Any recent 3.x version is fine for a beginner; avoid unofficial download sites.
  2. Install it. On Windows, follow the installer or install manager the page offers; on a Mac, run the installer package.
  3. Open the editor that comes with it. IDLE is installed alongside Python. Open a new file, type print("Hello from Hong Kong"), save it as hello.py.
  4. Run it. Press F5 in IDLE. The words appear in the shell window. That is a program.
  5. Break it on purpose. Delete the closing bracket and run again. Read the error. Put the bracket back. You have just debugged.

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

What do Python error messages mean?

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.”

The errors beginners meet most, and the usual cause
Last line saysUsual causeFirst thing to check
SyntaxErrorPython could not read the line: a missing bracket, colon or quoteThe line named, and the line just above it
IndentationErrorSpaces at the start of a line do not match the blockWhether every line in the block starts at the same column
NameErrorA name used before it was given a value, or misspelledSpelling and capital letters
TypeErrorTwo kinds of value combined that do not fit, such as text plus a numberWhether an input was converted with int() or float()
ZeroDivisionErrorA division by zeroWhere 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

What does a beginner's Python lesson look like?

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”.

  1. Store the cards. A dictionary maps each word to its box number. Every card starts in box 1.
  2. Set the schedule. Box 1 every day, box 2 every second day, box 3 every fourth day. The remainder operator % decides whether a box is due today.
  3. Move the cards. Right answer: up one box, never above 3. Wrong answer: straight back to box 1.
  4. Print the state. After each day, list what sits in each box, so you can check the program against your own reasoning.
A three-box flashcard trainerPython
# 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.

OutputOutput
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.

Why this program, for a beginner

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.

Mistakes beginners make here

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.

  1. Predict. If "list" is answered correctly on day 4, which box does it end in?
  2. Extend. Add a fourth box reviewed every eighth day. Which two lines change?
  3. Make it real. Replace the invented answers with input() so the program asks you each word.
  4. Explain. In two sentences, say why a wrong answer goes back to box 1 rather than down one box.

Alone or taught

Can I learn Python on my own, or do I need a course?

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.

Learning Python alone or with a tutor: an honest comparison (ours)
On your ownWith a one-to-one tutor
CostFreeA monthly fee
Order of topicsYou choose, often by trial and errorPlanned around you, changed when needed
When you are stuckSearch, forums, patienceSomeone sees your screen and asks the right question
Feedback on your codeRareEvery lesson
Keeping goingDepends on willpowerA 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

How long does it take a beginner to learn Python?

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.

Typical beginner milestones with weekly lessons and short practice (our experience, not a guarantee)
After aboutMost beginners canOften slower if
4 weeksWrite programs with input, decisions and loopsPractice is skipped between lessons
3 monthsUse lists, dictionaries and functions; read most errorsLessons are often missed
6 monthsWork with files and build small tools for school or workThere is no project to aim at
10 to 12 monthsFinish a portfolio project; attempt the PCEP if wantedGoals 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

Why take beginner Python one to one, and in English?

Because a beginner's questions are specific to their own screen, and because Python, its documentation and its error messages are all in English.

Lessons for one

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.

English as a working tool

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.

Example lesson times: Hong Kong and India
Hong KongIndiaOften chosen by
8:30 pm, weekday6:00 pmAdults after work and dinner
9:30 pm, weekday7:00 pmAdults with long office hours
9:00 am, Sunday6:30 amTeens 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

How do I know I am not just copying code?

Our own checkpoints for beginners, used for placement and monthly notes. They are not a certificate level.

Python for beginners: our checkpoints
CheckpointYou canTest yourself
1. RunInstall Python, run a file, print resultsMake a program print three lines
2. DecideUse input, if and comparisons correctlyWrite a checker that rejects bad input
3. RepeatWrite loops that stop when they shouldA guessing game with limited tries
4. OrganiseUse lists, dictionaries and functionsRebuild the flashcard trainer from memory
5. Read errorsFind a bug from the last line of an errorFix three planted bugs without help
6. BuildPlan and finish a small useful programA tool you use at least once a week

If you are 13 to 18

Explain your program to someone at home. If you cannot, you copied it.

Type everything. Pasting teaches your fingers nothing.

If you are an adult

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

Nine more courses for new programmers

All live and in English; Hong Kong learners take each one privately, one to one.

I

Teens starting out

Ages 13 to 18

PBE / TEEN / 01

C++ for Teens

The other DSE language, and the olympiad one.

Open the syllabus

PBE / TEEN / 02

AI Tools for Teens

Using AI tools well, and knowing their limits.

Open the syllabus

PBE / TEEN / 03

Vibe Coding for Teens

Building with AI help once the basics are solid.

Open the syllabus
II

Adults starting out

18 and over

PBE / ADULT / 01

Python Automation

Scripts for office work, files and reports.

Open the syllabus

PBE / ADULT / 02

Data Science

Python, statistics and real data sets.

Open the syllabus

PBE / ADULT / 03

Vibe Coding for College

Full-stack projects with AI, reviewed properly.

Open the syllabus
III

Other first languages

13 and over

PBE / LANG / 01

Java for Teens

Objects and structure from the start.

Open the syllabus

PBE / LANG / 02

HTML and CSS for Beginners

Web pages first, programming next.

Open the syllabus

PBE / LANG / 03

AI and Machine Learning for Teens

Where Python leads once the basics hold.

Open the syllabus

How classes run

When are beginner Python lessons, and what happens in one?

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.

One idea per lesson

Each lesson adds a single new idea and practises it.

You type

Nothing is pasted; the mentor watches and asks.

Predict, then run

You say what will print before you press F5.

Errors are lessons

The last line of each error is read aloud and acted on.

Programs kept

Every file is saved, so you can see how far you have come.

Twenty minutes

A short practice task follows each lesson.

Student work

Work by our students

Projects from learners on our longer courses. More in the student labs.

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 a beginner's Python course

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

  • A free first class, one to one
  • Python installed and a first program run together
  • No card needed to book
Book it

One to one

$1,200 HKD

a month, eight live classes

  • A mentor who follows your progress
  • Programs built around your work, school or interests
  • Lesson times you choose
Start here

What families say

Rated 4.9 across 547 Google reviews

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

Python for beginners: questions and answers

Is the course taught in English?

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.

Is it one to one?

Always. Every Hong Kong learner has private lessons with one mentor who stays with them.

When can I have lessons?

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.

I have never coded and I am bad at maths. Can I still learn Python?

Yes. Beginners need school arithmetic and patience, nothing more. Most of programming is careful thinking in steps, which improves with practice like anything else.

What is the minimum age?

This page is for learners from about 13. Children of 9 to 12 have their own Python course with turtle drawings and games.

Which version of Python should I install?

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.

Do I get a certificate?

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.

Can I use ChatGPT to learn?

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.

Is your course covered by the Continuing Education Fund?

No. Our courses are not on the Continuing Education Fund's list of reimbursable courses, so fees cannot be claimed back through it.

How do fees work?

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

Next pages for new Python learners

From choosing a route to fixing your first errors.

Python course in Hong Kong

Every Python route: exams, olympiad, certificates, work.

Coding classes in Hong Kong

Our courses for Hong Kong, by age.

Python for beginners

A plain-English introduction to the language.

Indentation errors explained

The error every beginner meets.

AI and machine learning in Hong Kong

Where Python leads next.

Coding class fees in Hong Kong

How our monthly fees work.

More pages for Hong Kong

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

Book a free first Python lesson

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.

Free. No card and nothing to sign.

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