Skip to content
West Lothian

Coding classes in West Lothian

What are the best coding classes in West Lothian?

West Lothian had about 181,300 residents in roughly 79,800 households at the 2022 census, at 423.9 people per square kilometre. Livingston is by far the largest town, followed by Bathgate, Broxburn, Linlithgow, Armadale and Whitburn, with East Calder, Fauldhouse and Winchburgh among the smaller places. Lessons are live on video with teachers in India, and a free first lesson places each learner at the right stage, from P1 to S6 or as an adult. Coding, Python and maths are taught to people from six up to 67, individually or in small classes of five to ten. The West Lothian project starts with a famous heap of shale. West Lothian families who stay on pay a monthly USD 100 for a shared class, or USD 150 for a tutor to themselves.

Historic Environment Scotland names the Five Sisters as the most widely known shale bing, a heap of waste left from the oil-shale industry that James Young pioneered. It has an unusual form, with five distinct lobes that the record says were formed by the method of tipping. Other bings are huge: the scheduled area at Greendykes near Broxburn measures about 920 by 580 metres. How does tipping create a shape? Every grain dropped on a heap either stays or slides downhill until the slope is gentle enough, and those simple rules, repeated thousands of times, build cones, ridges and lobes. This page's project simulates it in Python.

Facts last verified 26 September 2026. Teaching is online; no West Lothian branch is claimed.

Courses for West Lothian

Where West Lothian learners start

A P2 in Livingston who loves sandpits, a P6 in Bathgate ready to type code, an S4 in Linlithgow studying National 5, and an adult in Broxburn moving into data work. Each one begins with a free trial.

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.

West Lothian figures

About 181,300 people in West Lothian

The council total is a rounded first result from Scotland's 2022 census, published by National Records of Scotland. Town figures are NRS estimates for mid-2020.

West Lothian localities above 3,000 people, NRS mid-2020 estimates
LocalityResidentsLocalityResidents
Livingston56,840East Calder6,430
Bathgate23,600Blackburn5,730
Broxburn15,970Fauldhouse4,900
Linlithgow12,840Winchburgh3,840
Armadale12,720Mid Calder3,300
Whitburn11,490West Calder3,250

West Lothian has 423.9 residents per square kilometre, about six times the Scottish 69.8. It is a young council area by Scottish standards: our sums of the census age bands give 17.4 per cent of residents under 15, above Scotland's 15.3, and 17.5 per cent aged 65 or over, well below the national 20.1. Holiday weeks are set by West Lothian Council; rather than guess them, we take each family's dates.

Edinburgh and exams

The Edinburgh page covers the capital. For qualifications: National 5 Computing Science and Higher Maths.

The West Lothian project

Forty thousand grains, five tipping points

A grid, a slide rule for grains, and shapes nobody programmed.

The heap is imaginary. The ground is a grid of 161 by 161 squares, each holding a column of grains. A grain is dropped at a tipping point and then obeys one rule: if a neighbouring square is at least two grains lower, it slides to the lowest such neighbour, and keeps going until no step down is that steep. Real spoil settles at a natural slope called the angle of repose; the rule builds the same idea into the grid. The learner drops 40,000 grains, first all at one point and then shared among five points in a row, and prints the heights.

Our simulated heaps, 40,000 grains each, 26 September 2026
Tipping planWhat formsPeak heightLow point between peaks
One pointA single cone, 61 squares wide62Not applicable
Five points, 30 squares apartFive separate lobes36 each6
Five points, 10 squares apartOne long ridge39 to 4432 to 34

The results match the idea in the record. Tipping from one place builds one cone whose sides settle at exactly the slope the rule allows, about 2 grains per square. Tipping from five places far enough apart builds five lobes, each about 36 grains high with shallow saddles between. Bring the points closer and the lobes merge into a single ridge with only slight bumps. The shape of the heap is written in the tipping plan, even though no line of code mentions lobes.

Then the learner looks harder and finds a surprise. The single heap reaches 30 squares from its centre along the grid lines but only about 21 squares along the diagonals: it is shaped like a diamond, not a circle. A real heap tipped from one point is roughly round. The diamond comes from the model letting grains slide only north, south, east or west, a grid artefact, and fixing it means adding diagonal moves with the right distances. The learner also finds that late grains travel much further, about 20 squares on average against 4 or 5 at the start, because they must run down a much larger slope.

Ages 8 to 11

Pour dry rice from one cup and then from five, compare the shapes, and code falling grains in Scratch.

Ages 11 to 15

Build the grain-sliding rule on a grid in Python and print a heap as a picture of numbers.

Ages 15 and up

Run the five-point and ridge experiments, detect the diamond artefact, and add diagonal moves to fix it.

Real bing, model heaps

The Five Sisters and Greendykes descriptions come from Historic Environment Scotland records. The grid, the rule, the grain counts and every result are invented for teaching and say nothing about how the real bings were tipped or measured.

Why the Five Sisters

A heap that remembers an industry

What the scheduled monument records say.

Five Sisters (SM6254) and Greendykes (SM6186) shale bings, Historic Environment Scotland
Record detailWhat it says
What a bing isA waste heap of residue from the destructive distillation of shale to extract oil
Five Sisters formRather unusual, with five distinct lobes formed by the method of tipping
Five Sisters importanceThe most widely known reminder of the pioneering West Lothian shale oil industry
Greendykes sizeA scheduled area about 920 metres by 580 metres
Greendykes operatorThe Broxburn Oil Company, active from the 1860s to about 1940
PioneerJames Young, whose refining techniques are still used in the oil industry

Simulations built from tiny local rules explain landslides, snowdrifts, sand dunes, grain silos and the way powders flow in factories. They also teach a lasting lesson about models: every model has artefacts, like the diamond-shaped heap, and good modellers look for them before trusting a picture. A West Lothian pupil who has caught one has a skill that carries into any simulation.

We have no connection with Historic Environment Scotland or West Lothian Council. The records' facts are theirs; the heap simulation and any errors are ours.

Stages

From pouring rice to grid simulations

The stages are a guide; the free trial settles the real starting point.

P1 to P4

Falling and piling

Block coding with falling sprites and simple rules.

Coding for KidsScratch Coding for Kids
P5 to S2

Grids and loops

Typed Python with 2D lists and step-by-step rules.

Python and AI for KidsMaths Through Coding
S3 to S6

Simulation and modelling

Larger simulations beside National 5, Higher and Advanced Higher courses.

Python for TeensHigh School Mathematics
Adults

Models and data

Python and data analysis for adults working with models.

Data Analysis CoursePython Masterclass
AI and models

An AI can write a heap simulation in seconds. Will it notice the heap is a diamond?

Model artefacts hide in plain sight.

Ask a chatbot for a sand-pile simulation and it will happily produce a grid and a rule, and the pictures will look like piles. Whether the heaps come out diamond-shaped because of the grid, and whether that matters for your question, is something it rarely raises.

A West Lothian learner who has measured a heap along the axis and the diagonal knows to test a model for artefacts before believing it. That is the kind of checking AI-built models need.

A model that looks right can still be wrong in shape, and catching that is a reason for West Lothian teenagers to keep learning to code in 2026. The longer argument is in why teenagers should still learn to code in 2026.

How it works

From Linlithgow to West Calder, lessons at home

Every town and village in West Lothian joins by video in the same way.

Learner at the keys

Pupils write and run their own code; the teacher follows the shared screen and steps in when needed.

Stages you already know

An Armadale P4 or a Whitburn S3 hears the Curriculum for Excellence names used at school, up to Advanced Higher. Lessons are in English.

Trial lesson, free

One complete lesson with no charge, then honest advice.

Classes by stage

Five to ten learners sharing a stage, from several countries.

Two a week in term

Lessons run through term and pause for the holidays.

UK time throughout

Your slot stays at its UK time as the clocks change; the teachers in India time adjust.

Why groups span towns

Even in Livingston, five learners at one stage free at the same hour are hard to find. Grouping by stage across a wider pool gives a pupil in Fauldhouse or Winchburgh a class that fits.

Fees

Fees in West Lothian

Bathgate or Mid Calder, the fee is the same, as in every country we teach outside India.

First classUSD 0

A full free trial, then a clear recommendation.

Group tuitionUSD 100

About eight lessons a month in a group of five to ten.

Private tuitionUSD 150

About eight lessons a month with your own teacher.

Every fee is quoted in US dollars, never sterling. Once the trial has settled a course and a weekday, invoices begin; the pricing page answers questions about breaks, absences and moving between formats.

Reviews

Google star ratings from learners

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 West Lothian lesson

Send a note with the learner's age or stage and a favourite pastime. The trial could then be a Scratch game, a first Python grid, or the heap simulation on this page.

+44

FAQ

West Lothian questions

The council area, the Five Sisters project and practical points.

What is the population of West Lothian?

About 181,300 residents in roughly 79,800 households, from NRS's rounded 2022 census results.

What are the biggest towns in West Lothian?

NRS mid-2020 estimates: Livingston 56,840, Bathgate 23,600, Broxburn 15,970, Linlithgow 12,840 and Armadale 12,720.

What is the Five Sisters project?

Learners simulate 40,000 grains tipped from one or five points on a grid in Python, see five separate lobes form when the points are far apart, and discover that their model makes diamond-shaped heaps.

What is the angle of repose?

The steepest slope at which loose material such as sand or spoil stays put. Add more and it slides until the slope is back to that angle.

What is a shale bing?

Historic Environment Scotland describes it as a waste heap of residue from the destructive distillation of shale to extract oil.

Are lessons held in Livingston?

No venue is involved: a pupil in Fauldhouse and one in Linlithgow both join from home by video.

Do you teach National 5 Computing Science?

Yes, and Higher too, with maths at both levels. We teach understanding and never promise grades.

What ages do you teach?

Anyone between six and 67: block coding suits the youngest, Python and exam maths suit secondary pupils, and adults often choose Python with data.

How much are lessons?

There is no charge for the trial. Afterwards, group tuition is USD 100 monthly and one-to-one USD 150 monthly.

Do you pause for school holidays?

Yes. Let us know your school's holiday weeks and we leave them free.

Nearby pages

Around West Lothian

Falkirk grows seeds at the golden angle, Midlothian finds sunlit faces on a sundial, and Edinburgh has its own page. See every council on the Scotland page, or the UK hub for the rest.

Free West Lothian classCall +91 91233 66161

Keep exploring Modern Age Coders

Coding classes in nearby places

Free resources

From the blog

Start here