Hong Kong · Guide · Ages 7 to 13

Scratch or Python: which should my child learn first?

Both teach the same core ideas: steps in order, repeating, deciding, remembering a value. Scratch does it with coloured blocks that only fit together in ways that make sense. Python does it with typed English words, where every colon counts. The right first choice depends less on which is “better” and more on your child's age, typing and patience, and this page lays those out against what Hong Kong schools and contests actually use.

Teaching since 2020 · 10,000+ students worldwide · Scratch and Python for Hong Kong children, one to one, live online in English

The short answer

For most Hong Kong children under about 9 or 10, start with Scratch: blocks remove typing errors so the child learns the ideas. Move to Python when typing is easy and the child wants more, often at 9 to 11. Teenagers can start with Python directly, since DSE ICT, HKOI and IGCSE use typed languages. Modern Age Coders teaches both, live online, one to one, in English, at times that suit Hong Kong families.

Courses for both paths

Which courses teach Scratch and Python?

A Scratch course, a Python course for children, and a Python course for teenagers who skip the blocks. The free first class tells you which one fits.

Side by side

What is the difference between Scratch and Python?

Scratch is a visual language made for children; Python is a typed language used by children and professionals alike. They share ideas and differ in how much the keyboard gets in the way.

Scratch and Python compared for a Hong Kong child (makers' descriptions and our teaching view)
ScratchPython
What you write withColoured blocks dragged into placeTyped words, numbers and symbols
Made byThe Lifelong Kindergarten group at the MIT Media LabThe Python Software Foundation and its community
Age its makers nameMainly 8 to 16 (ScratchJr for 5 to 7)No age; described as “friendly & easy to learn”
Typing errorsImpossible: blocks only fit where they make senseCommon at first: colons, brackets, capitals
What you can seeSprites move on a stage at onceText output, then graphics and games with libraries
CostFree, runs in a browserFree to download and use
CeilingGames and stories; big projects get unwieldyUsed for data, AI, web and exams
Language of the wordsEnglish labels (other languages available)English keywords: if, while, print

Sources: Scratch Team, information for parents; ScratchJr, About page; python.org, About page. Read 23 November 2026. The rows on typing, ceiling and what you see are our own teaching view.

What is the same in both

A loop is a loop. “Repeat 10” in Scratch and for i in range(10): in Python do the same thing, and a child who understands one understands the other within a lesson or two.

The same goes for variables, conditions, events and lists. That is why a year of Scratch is not wasted when a child moves on: the ideas transfer whole; only the spelling is new.

What really changes

Precision. Python refuses to run a program with a missing colon or a capital letter in the wrong place. For an adult that is a minor nuisance; for a seven-year-old it can swallow a whole lesson.

Reach. Once a child has the precision, Python goes where Scratch cannot: reading files, working with data, building a website, training a small AI model.

Where Hong Kong uses each

Which coding language do Hong Kong schools and contests use?

Blocks at primary, typed code at secondary. The upper primary coding supplement names block and hardware tools; the primary olympiad uses Blockly; from secondary contests to DSE, the languages are typed.

Languages at each stage of Hong Kong school and contests, from the organisers' own documents
StageLanguage or toolWhat the source says
Upper primary lessons (P4 to P6)Scratch, App Inventor, Arduino, micro:bitEDB's computer programme was updated “by including the latest tools such as Scratch, App Inventor, Arduino and micro:bit”
Primary olympiad (HKPSOI)Blockly blocks“Both events will be using the Blockly programming language”
Secondary olympiad (HKOI) finalC++ first, Python second“Not all tasks and subtasks are solvable using Python.”
HKDSE ICT (S4 to S6)Python or C++; SQL for databasesListed in the ICT Curriculum and Assessment Guide
IGCSE Computer Science 0478, first exams 2029Python onlyPython 3 “as the only language for teaching, assessment and programming questions”
Cambridge A level 9618, 2027 to 2029Python, Java or Visual BasicCambridge added the three and removed Pascal

Sources: CDC, Computational Thinking: Coding Education supplement (2020); HKPSOI introduction and HKOI rules (hkoi.org); EDB, ICT Curriculum and Assessment Guide (S4 to 6), 2021; Cambridge International, 0478 and 9618 syllabus pages. All read 23 November 2026. Each school chooses its own tools within these documents.

HKOI 2025/26 Heat Event: takers and finalists by language
Group and languageTook the HeatReached the Final
Senior, Python29224
Senior, C++15875
Junior, Python21625
Junior, C++19973

Source: HKOI, 2026 statistics (assets.hkoi.org/ref/2026stats.pdf), read 23 November 2026. These are HKOI's published counts; we draw no conclusion about any one student from them.

What the contest figures suggest

More secondary students sit the HKOI Heat in Python than in C++, but far fewer Python takers reach the Final. HKOI's own rules explain part of it: the Final is set in C++ and some tasks cannot be solved in Python.

For a primary child that is years away. It does show that Python is a starting language, not always the finishing one, for a contest-minded child. Our HKOI Heat papers explained page goes further.

What it means for a ten-year-old

Very little pressure to choose now. Scratch builds the ideas, Python builds typing precision, and C++ can come at secondary for the few who want contests.

For DSE ICT or IGCSE, Python is enough on its own. Our IGCSE Computer Science tutor page covers the Python-only Cambridge change in detail.

Same game, twice

What does the same program look like in Scratch and in Python?

A number-guessing game, first as the Scratch blocks a child would drag in, then as Python. Read them side by side: every block has a Python twin. Then the second half of the Python shows three mistakes that blocks never let a child make.

The guessing game in Scratch (blocks written out as text)Scratch blocks
when green flag clicked
set [secret] to (7)
set [tries] to (0)
repeat until <(answer) = (secret)>
    ask [Guess my number] and wait
    change [tries] by (1)
    if <(answer) < (secret)> then
        say [Higher!] for (1) seconds
    else
        if <(answer) > (secret)> then
            say [Lower!] for (1) seconds
say (join [Got it in ] (tries))

Our own example. In Scratch these are coloured blocks: the orange ones hold variables, the yellow ones start and loop, the purple one makes the sprite speak. We have written them out so you can compare them with the Python below.

The same game in Python, then three typosPython
# A Scratch guessing game, rewritten in Python. Our own example.
# The guesses are typed into a list so the program runs the same way every time.
secret = 7
guesses = [3, 9, 7]
tries = 0
for guess in guesses:
    tries = tries + 1
    if guess < secret:
        print(guess, "-> Higher!")
    elif guess > secret:
        print(guess, "-> Lower!")
    else:
        print(guess, "-> Got it in", tries, "tries")
        break

# Three slips that blocks make impossible. Python reports each one.
slips = {
    "missing colon": "if tries > 2\n    print('slow')",
    "capital P":     "Print('hi')",
    "open quote":    "print('hi)",
}
for name, line in slips.items():
    try:
        exec(compile(line, "game", "exec"))
    except Exception as e:
        print(name.ljust(14), "->", type(e).__name__ + ":", e.args[0])

Our own example. The list of guesses stands in for a child typing answers, so the run is the same every time. We ran it with Python 3.14; the output panel shows exactly what it printed. Older Python versions word some error messages a little differently.

OutputOutput
3 -> Higher!
9 -> Lower!
7 -> Got it in 3 tries
missing colon  -> SyntaxError: expected ':'
capital P      -> NameError: name 'Print' is not defined
open quote     -> SyntaxError: unterminated string literal (detected at line 1)

The first three lines are the game. The last three are Python refusing three slips: a missing colon, a capital letter on print, and a quotation mark that is never closed. In Scratch none of these can happen, because the blocks have no colons, no capitals to get wrong and no quotes to close.

Each Scratch block and its Python twin, from the example above
Scratch blockPythonThe idea
set [tries] to (0)tries = 0A variable
change [tries] by (1)tries = tries + 1Updating a variable
repeat until <answer = secret>for guess in guesses: with breakA loop that stops
if <answer < secret> then / elseif / elif / elseChoosing
say [Higher!]print("Higher!")Output
  1. Predict. Change guesses to [7]. What does the game print, and how many tries?
  2. Break it on purpose. Delete the break. Then make guesses [7, 7]. What changes, and why?
  3. Fix a slip. Take the “open quote” line and correct it so it prints hi. What did you change?

Which for my child

Should my child start with Scratch or Python?

Match the language to the child in front of you. Age is a rough guide; typing, reading and temperament decide.

A starting language by age and by child (our advice)
Your childStart withWhy
5 to 7, pre-reader or early readerScratchJr or picture blocks, with you beside themNo reading or typing needed
7 to 9, reads simple EnglishScratchIdeas first, no spelling errors
9 to 11, types comfortablyScratch for a few months, or Python directlyDepends on patience with detail
9 to 11, has used Scratch a year or morePythonReady for what blocks cannot do
12 and over, new to codingPythonTyping and reading already in place
12 and over, aiming at HKOIPython, then C++The HKOI Final is set in C++
Any age, easily frustratedScratch, even if olderEarly wins build confidence

Our own advice from one-to-one teaching. ScratchJr's and Scratch's age ranges are their makers' own.

When Scratch is the right call

Your child is under nine, is still building English reading, or tends to give up when something goes wrong. Scratch gives quick, visible results, and a sprite that dances on the first day is a strong reason to come back.

It is also right for a child who loves telling stories or drawing: Scratch is as much an animation studio as a language. Our Scratch classes for kids page shows a full course.

When Python is the right call

Your child types without hunting for keys, reads short English messages, and is curious about “real” code. Many ten- and eleven-year-olds are already bored by blocks and light up with Python.

And for teenagers, Python first is usually right. For a broader view of Python for younger learners, see Python for beginner kids; for every Python course we offer Hong Kong learners, see our Python course in Hong Kong page.

Making the switch

How does a child move from Scratch to Python?

Gradually, by rebuilding things they already made. A child who rewrites their own Scratch game in Python learns the new spelling without having to learn new ideas at the same time.

  1. Pick a finished Scratch project the child is proud of. Small is better: a quiz or a guessing game.
  2. Write the blocks out in words, as we did above. This turns pictures into a plan.
  3. Translate one block at a time, running the Python after each. One new error at a time is manageable.
  4. Read every error message aloud. Python's messages are short English sentences; reading them is a skill in itself.
  5. Add one thing Scratch could not do easily, such as saving the best score to a file. That is the moment Python starts to feel worth it.

How long the move takes

With one-to-one lessons, most children who are ready make the move in four to eight weeks. The first fortnight is the slowest, while fingers and eyes learn where colons and brackets go.

Some children go back to Scratch for fun while learning Python. That is fine; nothing is lost.

Other bridges

Some children cross through a tool that shows blocks and text together. Others step through App Inventor, which Hong Kong's upper primary programme also names; our App Inventor for kids page explains it.

For children who live in Minecraft, coding inside the game can bridge the gap; see Minecraft coding classes in Hong Kong.

Practical details

Do children need good English for Scratch or Python?

Less for Scratch, a little more for Python. Python's keywords and error messages are English, which is one reason Hong Kong families choose lessons taught in English.

Lesson times on both clocks: three examples
Hong Kong timeIndia timeOften suits
5:00 pm, weekday2:30 pmAfter school and a snack
7:30 pm, weekday5:00 pmOlder children after homework
3:00 pm, Sunday12:30 pmA relaxed weekend lesson

Hong Kong keeps UTC+8 and India UTC+5:30 all year, with no summer time on either side, so the gap is always 2 hours 30 minutes. The rows are our own conversions.

English in a Scratch lesson

Scratch blocks can be shown in Chinese, but our lessons use the English labels so the move to Python is smooth. The mentor speaks slowly and types new words into the chat.

English in a Python lesson

Error messages such as “name is not defined” are short English sentences; reading them aloud is part of every lesson. All lessons are in English, never Cantonese or Mandarin; see coding classes taught in English.

From blocks to text

What does a path from Scratch to Python look like?

Our own outline for a child who starts with Scratch at about 8. The months are typical, not fixed.

A Scratch-to-Python path (our outline, not an official standard)
StageToolThe child can
Months 1 to 3ScratchMake sprites move and talk; use events and simple loops
Months 4 to 6ScratchUse variables, conditions and clones; finish a game with a score
Months 7 to 9Scratch to PythonRewrite a Scratch game in Python, one block at a time
Months 10 to 12PythonWrite loops, functions and lists from a plan
Year 2PythonSave files, use libraries, build a project of their own
Later, if wantedC++Prepare for HKOI tasks that need it

For children

Your Scratch games are your first Python projects. Rebuild them.

Error messages are hints. Read them before asking.

For parents

A slow first fortnight in Python is normal. Judge progress after a month.

Ask your child to show you one Scratch block and its Python twin.

More courses

Nine more courses, blocks to text

Live online and in English; in Hong Kong all one to one.

I

Block-based

About 6 to 10

SPK / BLOCK / 01

Coding for Kids with Blocks

Scratch to games, apps and small AI ideas.

Open the syllabus

SPK / BLOCK / 02

Minecraft Coding for Kids

Blocks first, then real code in the game.

Open the syllabus

SPK / BLOCK / 03

Vibe Coding for Kids

Plan a Scratch game in words, build it, test it.

Open the syllabus
II

First typed code

About 9 to 13

SPK / TEXT / 02

Maths Through Coding

Python and number puzzles together.

Open the syllabus

SPK / TEXT / 03

AI Literacy for Kids

How AI learns, with small experiments.

Open the syllabus
III

Beyond Python

13 to 18

SPK / NEXT / 01

C++ for Teens

The HKOI Final language, from zero.

Open the syllabus

SPK / NEXT / 02

IGCSE Computer Science 0478

Python and theory for the Cambridge exam.

Open the syllabus

SPK / NEXT / 03

AI and Machine Learning for Teens

Python models within tool age rules.

Open the syllabus

How lessons run

When are lessons, and how does a mentor choose the language?

Any day, any time, flexible: one to one at the hour that suits your family, weekdays or weekends. The mentor starts with whichever language fits your child and moves on when the child is ready; India, where mentors teach from, runs two and a half hours behind Hong Kong.

After school

Hong Kong 5 pm is 2:30 pm for the mentor.

After homework

Hong Kong 7:30 pm matches 5 pm in India.

Sunday afternoon

3 pm in Hong Kong, 12:30 pm in India.

Level check

A short block task and a short typed task in the first class.

One language at a time

No juggling two new languages at once.

Own projects reused

Scratch games become Python exercises.

Errors read aloud

Every message turned into plain words.

Screen shared

The mentor watches the child build, live.

Files kept

Projects in both languages stay with the child.

Student work

Built by our learners

Scratch and Python projects from students in longer courses. See 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 Hong Kong learners

Scratch and Python cost the same with us: one monthly fee, shown in Hong Kong dollars, paid for one month at a time with no prepaid package. If you pay by card or wallet, the gateway charge is listed on the payment screen before you confirm.

Free first class

Free

no card required

  • A free first class, one to one
  • A block task and a typed task
  • A clear suggestion: Scratch or Python
Book it

One to one

$1,200 HKD

a month, eight live classes

  • Eight live classes a month
  • Scratch, Python, or the move between
  • Hours chosen by your family
Start here

What families say

Rated 4.9 across 547 Google reviews

Families who have learned Scratch, Python or both with us, writing on Google.

★★★★★

"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 parents ask

Scratch or Python: questions and answers

Is Scratch or Python better for kids?

Neither is better in general. Scratch suits most children under about 9 or 10, because blocks remove typing errors. Python suits children who type comfortably and want to go further. Many children do both, Scratch first.

What age is Scratch for?

The Scratch Team says it is primarily designed for 8 to 16 year olds, and also used by younger children with their parents. ScratchJr, from the same family, is made for ages 5 to 7.

What age can a child learn Python?

Usually from about 9 to 11, once typing and reading short English sentences are comfortable. Some start earlier; teenagers can start with Python directly.

Is Scratch a waste of time if my child will learn Python later?

No. Loops, conditions, variables and events are the same ideas in both, so a child moving from Scratch to Python learns new spelling, not new thinking.

Which language do Hong Kong primary schools teach?

Mostly block-based tools. EDB's upper primary programme names Scratch, App Inventor, Arduino and micro:bit among its tools, and the primary olympiad HKPSOI uses Blockly. Each school chooses its own.

Which language does DSE ICT use?

EDB's ICT Curriculum and Assessment Guide lists Python and C++ for programming, with SQL for the databases elective. Python on its own is enough for the exam.

Does HKOI accept Python?

Yes, as a second-class language. HKOI's rules say solutions are in C++ (C++20), that Python is also available, and that not all tasks and subtasks are solvable using Python.

Can my child skip Scratch and start with Python?

Yes, if they are about 10 or older, type easily and cope with small errors. The free first class tries both so the mentor can tell you.

Are lessons in English, and when are they?

Every lesson is live and in English. Any day, any time, flexible: one to one at the hour that suits your family, weekdays or weekends.

Do we need to buy any software?

No. Scratch runs free in a browser and Python is free to download. A computer with a keyboard is needed for Python; a tablet works for ScratchJr.

Related

Where to read next

Pages for the next decision.

Coding classes in Hong Kong

Every course we offer Hong Kong families.

Python course in Hong Kong

Python for every age, from first lines to exams.

Scratch classes for kids

What a full Scratch course covers.

Online coding for kids

How a live lesson runs from home.

DSE ICT programming

Where Python leads in secondary school.

Python projects for kids

Ideas for after the switch.

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 · Coding subjects and courses: App development · 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 · School holidays: AI summer course · Districts and areas: Causeway Bay

Start here

Let a mentor try both with your child

In the free first class the mentor sets one block task and, if it fits, one typed task, then tells you plainly which language to start with and why.

Want to look first? See the course list and how we teach.

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

Classes are live online, one to one and in English, taught by mentors in India. Ask us anything on WhatsApp.

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

More comparisons

Learn more

Free resources

From the blog

Start here

Free classPriority demoCall us