Skip to content
Castleford, City of Wakefield, West Yorkshire

Online coding and Python classes in Castleford

Which online coding and Python classes suit Castleford learners best?

At the 2021 census the ONS counted 45,355 people in the Castleford built-up area and 353,368 in the City of Wakefield district. Airedale, Whitwood, Cutsyke, Half Acres, Wheldale, Townville, Whitwood Mere and New Fryston appear in postcodes.io as suburban areas whose nearest postcode is inside that built-up area. We teach coding, Python, AI, vibe coding and maths to anyone from six to 67 on live video, with tutors based in India, either one-to-one or in a class of five to ten learners who have reached the same point. The teaching aims at understanding: a learner should be able to predict what a loop will do before running it. In the Castleford project Python hides patches of a real height map and refills them by averaging, and learners find out that the obvious rule for when to stop gives an answer that looks finished and is not. The first lesson is free and closes with a course recommendation. After that, monthly fees are USD 100 for group lessons and USD 150 for private ones.

Here is a rule a ten-year-old can follow: to guess a missing number in a grid, take the average of the four numbers around it. Now suppose a whole block of numbers is missing. Each guess depends on its neighbours, which are guesses too. The way out is to sweep through the block again and again, updating every guess from its neighbours, until nothing changes. Mathematicians call this relaxation, and the order in which you update turns out to matter enormously. Castleford makes a good test because its height map, from the EU-DEM model, runs from under 6 m to nearly 75 m within a single 3 km square.

Facts last verified 30 September 2026. Teaching is online; no Castleford branch is claimed.

Choosing a course

Coding, Python and AI courses for Castleford

Match a course to the learner's age. Every one starts with a free live lesson, reserved without payment details.

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.

Wakefield district

Castleford and the other towns of the district

Five built-up areas that lie wholly inside the City of Wakefield district, with their 2021 populations.

Built-up areas wholly inside the City of Wakefield district, residents at the 2021 census (ONS)
Built-up areaResidents
Wakefield97,870
Castleford45,355
Pontefract32,975
Normanton21,980
Ossett21,855

These are the ONS's published figures, printed as they stand and never added together; the district total of 353,368 is a separate census count. Around Castleford, postcodes.io also records Hightown as a suburban area, and Featherstone, Knottingley and Sharlston appear as places in their own right with their own built-up areas. Castleford schools teach the national curriculum for England, and our timetable works around the term dates you give us.

West Yorkshire, the region and our approach

The county page is coding classes in West Yorkshire, and the regional page is Yorkshire and the Humber. Why every course puts thinking ahead of tools is set out in learn to think, not just use AI tools.

The Castleford project

Relaxation in Python: Jacobi, Gauss-Seidel and over-relaxation

Hide part of a real height map, refill it by averaging, and measure how fast and how well each method works.

The grid comes from the OpenTopoData service, which serves the Copernicus EU-DEM elevation model. We asked for 61 by 61 points about 50 m apart, centred on Castleford, and got back 3,721 heights between 5.6 m and 74.7 m. The learner then cuts nine square holes, each 19 points by 19, so that 361 heights at a time disappear, and tries to put them back using nothing but the ring of known heights around each hole.

The rule for every missing point is the same: become the average of your four neighbours. There is exactly one set of numbers that satisfies it everywhere at once, and Python can find it directly with a sparse matrix solver, which gives us a reference answer to measure against. The interesting part is getting there by sweeping. Jacobi's method updates every point from the old values of its neighbours. Gauss-Seidel uses each new value the moment it is computed. Successive over-relaxation, or SOR, does the same but deliberately overshoots each update by a factor, here 1.729, the figure theory recommends for a hole of this size.

Sweeps needed across the nine hidden blocks (our Python, EU-DEM heights)
MethodSweeps to get within 1 cm of the exact fillWhere "stop when nothing moves 1 cm" stopsHow far off it still is then
Jacobi219 to 35645 to 1350.27 to 0.43 m
Gauss-Seidel111 to 21433 to 840.16 to 0.30 m
SOR, factor 1.72924 to 4023 to 41no more than 0.01 m

Two lessons come out of that table. The first is speed. On average Gauss-Seidel needed about half the sweeps of Jacobi, and SOR needed about a fifth of Gauss-Seidel's. One line of code, multiplying each correction by 1.729, cut the work by that much. The second lesson is subtler and more useful. The natural stopping rule, quit when no point moves by more than a centimetre, is badly wrong for the slow methods. Jacobi's updates shrink to a centimetre while its answer is still up to 43 cm from where it will end up; each step is small only because the method is slow, not because it has arrived. SOR is the only one of the three for which small steps really do mean done.

How close the refilled heights come to the real ones (our comparison)
FillError per block, root mean squareCloser of the two
Relaxation from the ring1.25 to 4.74 m9 blocks of 9
Every hole set to the ring's average1.96 to 16.71 m0 blocks of 9

Relaxation always beat the lazy fill, but it has a built-in blind spot. An average can never be larger than the largest thing it averages, so the refilled patch can never rise above the highest point of its ring or sink below the lowest. In two of the nine blocks the real ground inside rose above every point on the ring, and relaxation smoothed that high ground away. The worst single height was off by 16.3 m. No amount of sweeping fixes that; the information was simply not in the ring.

Ages 8 to 11

Fill a paper grid with missing numbers by averaging neighbours, round after round, and watch the numbers settle.

Ages 11 to 15

Write the Jacobi sweep with two nested loops in Python and count the rounds on a small grid.

Ages 15 and up

Use NumPy on the real heights, add Gauss-Seidel and SOR, and design a stopping rule that tells the truth.

Data and caveats

Heights from the EU-DEM v1.1 model through the OpenTopoData API, produced using Copernicus data and information funded by the European Union. A 25 m elevation model smooths buildings and banks, and our points are about 50 m apart, so none of these figures describes a particular street. The holes, the fills and every count above come from our own code.

Knowing when to stop

What averaging a height map teaches about AI and vibe coding

A process that has stopped changing much has not necessarily reached the right answer.

From Castleford's grid to AI work
In the projectIn AI and vibe coding
Jacobi 0.43 m off when its steps were tinySmall changes can mean slow progress, not arrival
SOR 1.729 cut sweeps about fivefoldA well-chosen setting can matter more than more computing
An exact solver to compare againstKeep a trusted answer to test the fast one
Hidden hills in 2 of 9 blocksA model cannot invent what its inputs do not contain
Relaxation closer in 9 of 9 blocksMeasure against a simple baseline before trusting a method

Training a neural network is also an iterative process, and people stop it when the loss "flattens out". That is the Jacobi trap in a new setting: a flat curve can mean the network has learned what it can, or that the learning rate is too small to make visible progress. Ask an AI assistant to vibe code an iterative solver and it usually writes the plain Jacobi loop with an update-size stopping test, because that is what most examples look like. Castleford learners know to compare against an exact answer on a small case before trusting the loop on a large one. For those who can write Python unaided, typically sixth-formers and adults, the next step is AI agents; Copilot Studio agents are taught one-to-one only. Read AI agents for UK students and understand the code, don't copy-paste.

This page is our own work. OpenTopoData, the Copernicus programme, the Office for National Statistics and postcodes.io have not reviewed it and are named only as sources of open data.

Stages

From number grids to numerical methods

School years give a rough starting point; the free lesson tells us more.

Years 1 to 6

How to think

Averages, patterns and puzzles that settle down step by step.

Problem Solving and Computational Thinking for KidsScratch Coding for Kids
Years 4 to 8

Vibe coding for kids

Games drafted with an AI and then tested for mistakes.

Vibe Coding for KidsPython and AI for Kids
Years 9 to 13

Python and numerical work

Loops, arrays and methods that converge, in step with GCSE and A level.

Python for TeensVibe Coding for Teens
Adults

Python for real problems

Sound Python, then data structures, algorithms and generative AI.

Python MasterclassData Structures & Algorithms Course
Python and iteration

What is the relaxation method in programming?

The relaxation method is a way of solving a large set of linked equations by starting from a guess and repeatedly replacing each unknown with a value computed from its neighbours, such as their average, until the values stop changing; Jacobi, Gauss-Seidel and successive over-relaxation are its three classic versions.

Refilling nine hidden blocks of Castleford heights, Jacobi needed 219 to 356 sweeps, Gauss-Seidel 111 to 214 and over-relaxation with a factor of 1.729 only 24 to 40.

Stopping as soon as no height moved more than 1 cm left Jacobi's answers up to 0.43 m short of the true fill.

Castleford teenagers who have caught a loop looking finished too early bring that suspicion to every AI result they meet. It comes from writing and testing the loop themselves, which is one more reason to learn to code in 2026. The longer argument is in why teenagers should still learn to code in 2026.

Practical details

Airedale, Whitwood and Cutsyke, one online class

The learner needs a computer, a webcam and a connection that can carry video.

Hands on the keyboard

The learner writes and runs everything; the tutor watches the shared screen and questions.

Level found first

The trial shows us what the learner can already do and which board they sit.

No-cost first lesson

A full lesson with no card required, ending in our recommendation.

Groups of equals

Five to ten learners at one stage, recruited nationally.

Two sessions a week

We skip whatever holiday weeks you list.

Fixed through the year

Clock changes are handled at our end, so the lesson time stays put.

Why the class is online

Learners at exactly the same stage are spread thinly across any one district. Online, the whole country is the pool.

Fees

Castleford lesson fees

Castleford pays our international rates, which apply everywhere except India.

First classUSD 0

One full live lesson, free, ending with our course advice.

Group tuitionUSD 100

About eight group lessons in a month.

Private tuitionUSD 150

About eight private lessons in a month.

Fees are in US dollars only, with no sterling figure. Billing begins after the trial, when a course and a regular time are settled. The pricing page covers holidays, missed sessions and moving between formats.

Reviews

Google reviews from Yorkshire families and learners across the UK

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

Reserve a free Castleford lesson

Give us an age or school year and something the learner enjoys. The trial could be a number-grid puzzle, a Scratch game drafted with AI, first steps in Python, or a first numerical method.

+44

FAQ

Castleford FAQs

The relaxation project, Python, AI, vibe coding and how lessons work.

What is the population of Castleford?

On ONS figures the Castleford built-up area had 45,355 usual residents at the 2021 census, within a City of Wakefield district of 353,368.

Are online coding and Python lessons available in Castleford?

Yes, live on video for ages 6 to 67, covering Castleford, Airedale, Whitwood, Cutsyke, Half Acres and the wider district.

What is the difference between Jacobi and Gauss-Seidel?

Jacobi updates every value using only the previous sweep's numbers. Gauss-Seidel uses each new value straight away, so information spreads faster and it usually needs about half as many sweeps.

What is over-relaxation?

A tweak to Gauss-Seidel that pushes each update further than the average suggests, by a factor between 1 and 2. With a good factor it converges many times faster.

What do learners build in the Castleford project?

A Python program that hides blocks of a real height map, refills them three ways, checks each against an exact solution, and tests an honest stopping rule.

Do you teach vibe coding?

Yes, at every age. Learners describe a program to an AI, then read and test whatever it writes.

When can learners build AI agents?

When they write Python confidently without help, commonly in sixth form or as adults. Copilot Studio agents are one-to-one only.

Can you help with GCSE or A level?

Yes, in computer science and maths, aiming at real understanding. We do not guarantee grades.

How much are lessons?

Nothing for lesson one; from then on USD 100 monthly as part of a class, or USD 150 monthly with a tutor to yourself.

Do lessons stop for school holidays?

They can. Tell us the dates and we will pause.

Around West Yorkshire

Other West Yorkshire and Yorkshire pages

Different projects run on the pages for Wakefield, Dewsbury and Keighley, and the county has its own page at West Yorkshire. The UK hub lists the rest.

Free classPriority demoCall us

Keep exploring Modern Age Coders

Related courses and guides

Learn more

Free resources

From the blog

Start here