What are the best coding classes in Preston?
Preston had 147,835 usual residents at the 2021 Census, with those aged 20 to 24 making up 8.5%, compared with 6.0% nationally. It is where Britain's first motorway opened on 5 December 1958: the eight-mile Preston bypass, now part of the M6. Modern Age Coders teaches Preston learners from six to sixty-seven in live online lessons, in a group of five to ten at one level or one to one, with teachers working from India and lesson times set in UK hours. The opening lesson is free. After that, USD 100 a month covers a group place and USD 150 a month covers private lessons.
On 5 December 1958, according to Highways England, 2,300 drivers took the new Preston bypass for the first time, the first motorway in Britain. Today the Department for Transport publishes a traffic figure for the M6 between junctions 30 and 31 for every year since 2000, and it has grown from 116,874 vehicles on an average day to 171,079 in 2025. How fast is it growing? Draw the usual least-squares line and the answer is 979 more vehicles a day each year. But that line is dragged down by one extraordinary year: in 2020 the flow fell to 101,388. A different method, Theil-Sen, takes the slope between every pair of years, 325 of them, and uses the middle value: 1,054 a day each year. Enter 2020 as zero, as a broken counter might, and least squares halves to 459 while Theil-Sen does not move at all. That is robust estimation, and it is the lesson Preston's motorway gives our teenage learners.
Facts last verified 21 September 2026. Teaching is online; no Preston branch is claimed.
Choose by the learner's interests. Every course begins with a free live lesson, and booking needs no card.

Number, shape, measurement and money for primary years, including the ordering and comparing that sit under every average.
See the syllabus
Python from a first line to full projects, with a real traffic series as an early dataset to fit and test.
See the syllabus
A level statistics, including the standard rules for outliers and when to use them, beside the pure maths behind it.
See the syllabus
Statistics for adults from descriptive summaries to hypothesis testing, including why a median can be the safer summary.
See the syllabusBrowse the course atlas for more than one hundred options and use the coding roadmap to check prerequisites.
The four we are known for
These run underneath everything above. Every one is live and online, placed by ability rather than by age, and the first class is free.

Python, web and AI projects where the learner still owns the thinking.
See the syllabus
Automate the work you already do, then let AI carry part of it.
See the syllabus
Train a model, read what it learned, and be able to say why it is wrong.
See the syllabus
Run AI coding agents on real work without losing control of the codebase.
See the syllabusCensus 2021 for the Preston local authority, from the Office for National Statistics tables on Nomis.
| Census 2021 measure | Preston | England |
|---|---|---|
| Usual residents | 147,835 | Not compared |
| In households | 141,777, 95.9% | Not compared |
| In communal establishments | 6,058, 4.1% | Not compared |
| Aged 5 to 9 | 9,241, 6.3% | 5.9% |
| Aged 20 to 24 | 12,600, 8.5% | 6.0% |
| Aged 25 to 29 | 11,012, 7.4% | 6.6% |
| Schoolchildren and full-time students, of 138,914 aged five and over | 34,784, 25.0% | 20.4% |
Residents aged 20 to 24 made up 8.5% of Preston and those aged 25 to 29 another 7.4%, against 6.0% and 6.6% nationally.
Children aged 5 to 9 were 6.3% of residents, a little above England's 5.9%, so the city is young at both ends of school age.
The 2021 Census put schoolchildren and full-time students at 25.0% of Preston residents aged five and over; across England the share was 20.4%.
For our classes, that means Preston learners at every stage: a six-year-old in Ingol building a first block game, a Year 11 student in Fulwood getting ready for GCSE Computer Science, or someone in their twenties in Deepdale picking up data skills for work. Each joins five to ten learners at the same level.
From Highways England's 2018 account on GOV.UK and from the University of Lancashire.
Highways England says 2,300 drivers drove along the Preston bypass for the first time that day. The eight-mile road was the very first motorway in Britain and is now part of the M6.
The bypass opened with just two lanes each way, no safety barrier in the central reservation and no electronic signs. An upgrade in the 1990s made it a four-lane motorway and replaced all the original bridges.
The University of Lancashire says it was founded that year in Preston as the Institution for the Diffusion of Knowledge. Its motto, Ex solo ad solem, means from the earth to the sun.
In 2018 Highways England said the M6 accounted for one in eight of all motorway journeys, and the University says its Preston Campus is home to over 27,000 students and staff. We have no connection with Highways England, National Highways or the University. We mention them because a city that gave Britain its first motorway is a natural place to learn how to measure traffic honestly.
The count point we used
The Department for Transport publishes road traffic statistics for count point 36029, on the M6 between junctions 30 and 31, for every year from 2000 to 2025. Most years are manual counts, 2018 and 2019 came from an automatic counter, and 2001 and 2016 were estimated from the year before. Knowing which is which matters before fitting any line.
Theil-Sen estimates a trend as the median of the slopes between every pair of points. We compared it with ordinary least squares on 26 years of M6 traffic at Preston.
| Method | Years used | Slope |
|---|---|---|
| Least squares | All 26 | 979 |
| Least squares | Without 2020 and 2021 | 1,404 |
| Theil-Sen | All 26 | 1,054 |
| Theil-Sen | Without 2020 and 2021 | 1,292 |
| Least squares, 2020 entered as 0 | All 26 | 459 |
| Theil-Sen, 2020 entered as 0 | All 26 | 1,054 |
For each pair of years, work out the slope of the line joining them. Twenty-six years give 325 pairs, and so 325 slopes.
Sort the slopes and pick the median. A few wild slopes at either end cannot move the middle much, which is the whole point.
Corrupt one year on purpose, as a broken counter might, and refit both lines. Least squares collapses from 979 to 459; Theil-Sen stays at 1,054.
Theil-Sen resists one bad year, but 2020 and 2021 were two genuinely low years, and together they still pull its slope down from 1,292 to 1,054. The method protects against a few freak values, not against a real change in behaviour. Deciding whether the pandemic years belong in a growth trend is a judgement about the world, and a good analysis reports the trend both ways and says which it prefers and why.
There is a cost to the robustness. Least squares needs one pass through the data; Theil-Sen needs every pair, so 26 years mean 325 slopes and 100 years would mean 4,950. For a traffic series that is nothing, but on millions of points learners meet faster versions that sample the pairs instead, and the idea of trading speed for resistance to bad data stays with them.
Learned on motorway traffic, used afterwards on sensor readings, sales, sports statistics and any series with the odd broken or extraordinary value.
| Check | What it looks like | What it prevents |
|---|---|---|
| Read the method column | Separate counted, automatic and estimated years before fitting | Treating a copied estimate as a fresh measurement |
| Fit two ways | Compare least squares with a robust method such as Theil-Sen | A trend quietly dragged by one value |
| Break it on purpose | Replace one value with nonsense and see which method notices | Discovering fragility only after publishing |
| Name the unusual years | Say which years are extraordinary and why, and show the trend with and without them | Silently dropping the years that do not fit |
| Count the cost | Remember that pairwise methods grow with the square of the data | A robust method that never finishes on large data |
The first check has a local lesson in it: the 2001 and 2016 figures are not new counts at all but estimates carried forward from the year before. They sit comfortably in the series, which is exactly why a learner has to read the method column to know they are there.
Lining up numbers to find the middle one, and seeing that one silly number cannot move the middle much.
The DfT series fetched and parsed, least squares and Theil-Sen coded from scratch, and a deliberate stress test run.
Trend reporting at work that shows the robust figure beside the usual one and explains any difference.
We are not connected with the Department for Transport, Highways England, National Highways or the University of Lancashire. The traffic statistics are published for public use; the fitted slopes and stress tests are our own calculations.
Think of the age bands as a rough map; the free lesson shows the actual starting point.
Ordering lists, finding the middle, and noticing how an average jumps when one number is silly while the middle barely moves.
Elementary Maths for Grades 1-5Mental Maths for KidsPlotting a series, drawing a line through it and working out its slope in code.
Maths Through CodingMiddle School Mathematics MasteryLeast squares and Theil-Sen written from scratch on real traffic data, with outliers tested on purpose.
Python for TeensA-Level MathsRobust statistics, data quality flags and clear reporting for anyone whose numbers include the occasional disaster.
Statistics & ProbabilityData Analysis CourseBecause the default line gives no warning when one bad value is bending it.
Ask an AI tool how fast M6 traffic at Preston is growing and it will probably fit a least-squares line and quote about 979 vehicles a day per year. It is unlikely to add that 2020 alone drags that figure down, or that a single corrupted year could halve it. A learner who has fitted a robust line beside it knows to ask how sensitive any quoted trend is.
Robustness matters inside AI too. Models trained on data with a few extreme or mislabelled points can be pulled badly off course, and much of practical machine learning is about spotting and resisting that. Theil-Sen is one of the simplest, clearest examples of the idea, and it can be coded from scratch in an evening.
So a Preston teenager should still learn to program in 2026, in the city of Britain's first motorway: tools will draw any line you ask for, and knowing which lines survive bad data is what makes the answer worth trusting. The longer argument is in why it is still worth learning to code in 2026.
Preston is well connected by road, but a live online lesson needs no journey at all.
A learner in Cottam and another in Ribbleton can share the same lesson without either leaving home.
Reception, the Key Stages, Year 9 options, GCSEs and A levels, in the terms Preston schools use, with every lesson in English.
The free lesson teaches a real task and closes by proposing a level, a course and a weekly time. Booking asks for no card.
Each group gathers five to ten learners working at the same stage, drawn from Preston, elsewhere in Britain and overseas, which keeps a sensible slot open for every level.
Two lessons a week at fixed times, roughly eight a month, with holiday and exam pauses arranged with the teacher in advance.
India does not change its clocks, so the gap to Preston is four and a half hours during British Summer Time and five and a half for the rest of the year, which keeps after-school and evening slots within our teachers' working day.
Across Lancashire as well
Families in Penwortham, Leyland or Chorley join exactly the same groups, because every lesson is online and groups are formed by level rather than postcode.
A free lesson first, then a single monthly fee.
A full lesson at no cost, ending with a level, a recommended course and a proposed weekly time.
Roughly eight live lessons a month in a group of five to ten learners at one level.
Roughly eight live lessons a month taught to your learner on their own.
Families outside India all pay one US dollar fee, so Broughton and Lea pay exactly the same, and there is no pound price list. We only start billing when the free lesson has settled the course and the weekly slot, and our pricing page sets out how pausing, missed lessons and moving between group and one-to-one teaching work.
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
We choose the first task by level: finding the middle of a list for a young child, a first Python program that plots a line, or the M6 traffic series and a Theil-Sen trend for a teenager ready for real data.
What Preston families ask us most often.
The 2021 Census counted 147,835 usual residents in the Preston local authority: 141,777 in households and 6,058, or 4.1%, in communal establishments.
In 2021, 34,784 of the 138,914 residents aged five and over were schoolchildren or full-time students, 25.0% against 20.4% in England.
Yes. Highways England says the eight-mile Preston bypass, opened on 5 December 1958, was the very first motorway in Britain, and that it is now part of the M6. We are not connected with Highways England.
A way of estimating a trend by working out the slope between every pair of points and taking the median. Because it uses the middle slope, a few extreme values cannot drag it far.
On the DfT figures for junction 30 to 31 from 2000 to 2025, about 979 more vehicles a day each year by least squares and 1,054 by Theil-Sen. Leaving out 2020 and 2021 raises both.
At the M6 count point between junctions 30 and 31, average daily traffic fell from 156,190 vehicles in 2019 to 101,388 in 2020, then reached 171,079 in 2025.
Most lessons fall on weekday afternoons and evenings or at weekends, and the free lesson fixes the UK time. India is 4.5 hours ahead of the UK in summer and 5.5 hours ahead in winter.
No. There is no Preston centre and no premises anywhere in the UK; all teaching happens live online. Learners need a computer with sound and a steady connection, and our phone number is Indian.
The first lesson is free. After it, a group place is USD 100 a month for two live lessons a week, around eight a month, with five to ten learners, and one-to-one lessons on the same schedule are USD 150 a month. Course, format and time are agreed before any payment.
By level, pace and aims rather than age or postcode, with five to ten learners at one stage. If no group meets at a suitable time, we propose one-to-one lessons.
Down the M6 and along the M62, the Liverpool page finds the moon's rhythm in a month of tide readings and Manchester times a rise travelling down the River Medlock. Sheffield shows how a least-squares trend shifts with its starting year. School stages across England are explained in the England guide, and every UK page is linked from the UK coding page.