Skip to content
City of Palmerston, Greater Darwin, Northern Territory

Online coding and Python classes in Palmerston

What Python tool does the Palmerston project use?

itertools.pairwise, which turns a list into neighbouring pairs. Learners pair each stop on a Palmerston bus trip with the next to measure how long each hop takes. Run it over the whole timetable at once and 375 pairs join the last stop of one trip to the first stop of another, 171 of them going backwards in time. Grouping by trip first fixes every one.

Palmerston is the satellite city south-east of Darwin, with its own council, a bus interchange and a young population. Its suburbs are served by local routes 70 to 78, 87 and 88 and by the longer routes 8 and 9 towards Darwin. The Northern Territory Government publishes the whole bus timetable, ready for a careful Python learner.

Facts last verified 13 October 2026. Teaching is online; no Palmerston branch is claimed.

Course picks for Palmerston

Python courses for the Top End

Courses that build tidy, testable Python. The free trial picks the starting level.

Browse the course atlas for more than one hundred options and use the coding roadmap to check prerequisites.

The four we are known for

Python, AI, vibe coding and agentic coding

These run underneath everything above. Every one is live and online, placed by ability rather than by age, and the first class is free.

Palmerston in the 2021 Census

A young, car-based city of families

Figures for the City of Palmerston council area (ABS LGA72800) from 2021 Census QuickStats, read on 13 October 2026, with the ABS 2025 estimate.

City of Palmerston counts
MeasureValue
Residents, 2021 Census37,247
Estimated residents, 202543,193
Median age31
Families9,502
Private dwellings14,535
People per household2.8
Palmerston shares beside the Northern Territory
SharePalmerstonNT
Residents aged 5 to 98.8% (3,271)7.2%
Drove a car to work73.1% (14,074)63.4%
Separate houses75.9% (9,348)66.8%
Technicians and trades workers16.5% (3,179)13.8%

Families

Couples with children were 48.4% of Palmerston families, above the territory share.

Driving city

Nearly three in four workers drove to work, and only 1.2% walked, compared with 7.6% across the NT.

Two figures

The Census count of 37,247 and the ABS 2025 estimate of 43,193 use different methods, so both appear without subtraction.

The 2021 Census was held during the pandemic, so travel answers describe that week. The bureau rounds its shares and lightly perturbs small counts, so we print its figures exactly and never build totals by adding rows.

Signature project

Pairs that must stay inside one trip

The bus timetable lists every stop of every trip in order. To measure each hop, learners pair each stop with the next using itertools.pairwise, added to Python in version 3.10. We use Wednesday 30 September 2026, a weekday on which the feed's weekday timetable runs, and keep the 376 trips that touch the 118 stops inside the City of Palmerston.

Two ways to pair consecutive stops (our run, Python 3.13)
MethodPairsProblem pairs
pairwise over all rows sorted by trip and stop7,762375 cross from one trip to the next
Of those crossing pairs, time runs backwards171Negative hop times
Group by trip, then pairwise inside each7,387None

One per boundary

There are 376 trips, so a single list has 375 places where one trip ends and the next begins. pairwise pairs across every one of them.

Short hops

Grouped correctly, the 135 stop-to-stop segments inside Palmerston have a median hop of 1 minute.

Zero-minute hops

Of the 7,387 correct pairs, 1,083 show 0 minutes, because the timetable records whole minutes. Learners decide how to treat them before averaging.

A calendar surprise

The same feed switches its weekday service off on 51 weekday dates between 5 October and 28 December 2026, while leaving it on from 14 to 25 December. We do not know why, so the project uses a date the weekday timetable clearly covers and reports this exception rather than guessing.

Timetables come from the NT Government's Darwin bus GTFS feed on data.nt.gov.au, licensed Creative Commons Attribution, downloaded on 13 October 2026. Stops are placed in the City of Palmerston by our point-in-polygon test on the ABS council outline; pairs, hop times and counts are our own calculation.

Writing it in Python

Group first, then pair

The correct version is only two lines longer. The lesson is noticing that the short version is wrong.

Lesson steps
StepLearner task
1Read stop_times, keep active trips for the chosen day and sort by trip and stop sequence.
2Run pairwise over the whole list and count pairs whose two trips differ.
3Group rows into a dict of trips, then run pairwise inside each trip.
4Summarise hop times for Palmerston segments and decide what to do with zeros.

A useful check falls out of step 2: the number of bad pairs should equal the number of trips minus one. Here it is exactly 375 for 376 trips, which confirms the explanation. Learners also find the longest hops, such as an express segment of 28 minutes into Palmerston Interchange, and check they are real rather than errors.

Younger learners

Hold hands with the next person in each team line, and notice what goes wrong when two lines stand end to end.

Teenagers

Write both versions, prove the 375, and chart the hop times.

Adults

Compute differences between consecutive events in logs or sensor data without crossing groups.

Around Palmerston

Interchange, routes and Territory time

Local details from the Darwin bus timetable feed and the IANA time zone database.

Busiest stop

Palmerston Interchange has 315 scheduled departures on the chosen Wednesday, the most of any stop in the council area.

20 route names

Trips touching Palmerston that day run on 20 route names, from local 70s and 80s to the Orbital services and rural 440s.

No daylight saving

Darwin time has stayed at nine and a half hours ahead of UTC since daylight saving last ended in March 1944.

Area used

The City of Palmerston is the ABS council outline of about 52.7 square kilometres, drawn in three parts. School term dates are not given here because the NT education sources could not be read directly.

Learning ladder

From holding hands to itertools

Most Palmerston learners start on one of these rungs; the trial confirms which.

Ages 6 to 10

Order and sequence

Scratch projects where steps must happen in the right order.

Scratch Coding for KidsCoding for Kids
Ages 10 to 14

Moving to text

Loops, lists and first timetable puzzles typed out.

Python and AI for KidsMaths Through Coding
Ages 14 to 18

Real public files

itertools, grouping and messy government data.

Python for TeensData Science for Teens
University and adult

Pipelines

Clean, repeatable data processing and automation.

Python MasterclassPython Automation Course
Python and AI

Would an AI assistant group first?

Not always, because the short version looks so neat.

Ask for "time between consecutive stops" and an assistant may well write pairwise over the sorted rows. The output looks plausible until someone notices a few negative times among thousands.

A Palmerston learner who has counted the 375 bad pairs knows to check group boundaries in any generated code that compares neighbours.

In our Python classes, every neat one-liner gets a sanity check. The longer argument is in why understanding code still beats copying it.

Delivery

How Palmerston lessons work

Every session is a live video class, joined from home in Palmerston, Rosebery or anywhere nearby.

Real-time teaching

Your teacher is on the call the whole time, reading code line by line.

Territory terms

Lessons pause in Northern Territory school holidays.

Try before paying

The first session is on us, and you receive a short written plan.

Class size

Up to twenty learners of similar level, or a private teacher.

Two a week

Around eight lessons a month.

India time

A 4pm Palmerston lesson is noon in India, all year.

Darwin time

The IANA time zone database keeps Darwin at UTC+9:30 with no daylight saving since 1944, exactly four hours ahead of India.

Fees

Palmerston fees

Every learner pays the same fees.

First classUSD 0

The first lesson is free and includes a plan.

Group tuitionUSD 100

Group lessons: two a week through term, with fifteen to twenty classmates.

Private tuitionUSD 150

Individual lessons: the same two a week, with the teacher all to yourself.

Fees are set in US dollars and begin only when the trial has chosen a course and weekly time. Holiday and missed-lesson rules are on the pricing page.

Reviews

Family reviews on Google

Rated 4.9 across 547 Google reviews. These are real reviews, 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

Free placement class

Book a free Palmerston lesson

Tell us the learner's age and interests. A child might play the team-line game; a teenager might pair every Palmerston stop.

+61

FAQ

Palmerston coding and Python questions

Questions from Palmerston families and adult learners.

How many people live in Palmerston?

The 2021 Census counted 37,247 residents in the City of Palmerston, median age 31. The ABS estimate for 2025 is 43,193.

What does itertools.pairwise do?

It returns overlapping pairs of neighbours from a sequence: first and second, second and third, and so on. It was added in Python 3.10.

Why did some pairs go backwards in time?

Because they joined the last stop of one trip to the first stop of the next. Grouping by trip before pairing removes them.

What are zero-minute hops?

Pairs of stops with the same scheduled minute. The timetable records whole minutes, so short hops round to zero.

Can 10-year-olds learn Python?

Often, especially those who have already built things in Scratch. The free lesson shows whether typing code suits them yet.

Where does the bus data come from?

From the Northern Territory Government's Darwin bus GTFS feed on data.nt.gov.au, licensed Creative Commons Attribution.

Do you have a centre in Palmerston?

No. Lessons are live online only, we have no Australian office, and our listed phone number is Indian.

What do Palmerston classes cost?

The first lesson is free. Group classes cost USD 100 a month for two live lessons a week, about eight a month, in groups of fifteen to twenty, and one-to-one classes cost USD 150 a month. You agree the course and time before paying.

How are groups formed?

By level and pace, fifteen to twenty learners each, not by age or suburb. One-to-one lessons suit anyone no group time fits.

Can adults learn with you?

Yes. Working adults join their own groups or take private lessons, and many bring a spreadsheet they want to automate.

More for Top End learners

Explore further

For the wider Top End, read the Darwin page and the Northern Territory guide; children ready to leave blocks behind can start with our Scratch-to-Python step.

Free classPriority demoCall us

Keep exploring Modern Age Coders

Related courses and guides

Learn more

Free resources

From the blog

Start here