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.
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.

Block coding with falling objects, piles and simple physics rules.
See the syllabus
A first typed language, with grids, loops and small simulations.
See the syllabus
Complete Python for teenagers, including 2D grids and simulation.
See the syllabus
Data analysis for adults, from spreadsheets to Python models and charts.
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 syllabusThe 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.
| Locality | Residents | Locality | Residents |
|---|---|---|---|
| Livingston | 56,840 | East Calder | 6,430 |
| Bathgate | 23,600 | Blackburn | 5,730 |
| Broxburn | 15,970 | Fauldhouse | 4,900 |
| Linlithgow | 12,840 | Winchburgh | 3,840 |
| Armadale | 12,720 | Mid Calder | 3,300 |
| Whitburn | 11,490 | West Calder | 3,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.
The Edinburgh page covers the capital. For qualifications: National 5 Computing Science and Higher Maths.
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.
| Tipping plan | What forms | Peak height | Low point between peaks |
|---|---|---|---|
| One point | A single cone, 61 squares wide | 62 | Not applicable |
| Five points, 30 squares apart | Five separate lobes | 36 each | 6 |
| Five points, 10 squares apart | One long ridge | 39 to 44 | 32 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.
Pour dry rice from one cup and then from five, compare the shapes, and code falling grains in Scratch.
Build the grain-sliding rule on a grid in Python and print a heap as a picture of numbers.
Run the five-point and ridge experiments, detect the diamond artefact, and add diagonal moves to fix it.
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.
What the scheduled monument records say.
| Record detail | What it says |
|---|---|
| What a bing is | A waste heap of residue from the destructive distillation of shale to extract oil |
| Five Sisters form | Rather unusual, with five distinct lobes formed by the method of tipping |
| Five Sisters importance | The most widely known reminder of the pioneering West Lothian shale oil industry |
| Greendykes size | A scheduled area about 920 metres by 580 metres |
| Greendykes operator | The Broxburn Oil Company, active from the 1860s to about 1940 |
| Pioneer | James 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.
The stages are a guide; the free trial settles the real starting point.
Block coding with falling sprites and simple rules.
Coding for KidsScratch Coding for KidsTyped Python with 2D lists and step-by-step rules.
Python and AI for KidsMaths Through CodingLarger simulations beside National 5, Higher and Advanced Higher courses.
Python for TeensHigh School MathematicsPython and data analysis for adults working with models.
Data Analysis CoursePython MasterclassModel 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.
Every town and village in West Lothian joins by video in the same way.
Pupils write and run their own code; the teacher follows the shared screen and steps in when needed.
An Armadale P4 or a Whitburn S3 hears the Curriculum for Excellence names used at school, up to Advanced Higher. Lessons are in English.
One complete lesson with no charge, then honest advice.
Five to ten learners sharing a stage, from several countries.
Lessons run through term and pause for the holidays.
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.
Bathgate or Mid Calder, the fee is the same, as in every country we teach outside India.
A full free trial, then a clear recommendation.
About eight lessons a month in a group of five to ten.
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.
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
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.
The council area, the Five Sisters project and practical points.
About 181,300 residents in roughly 79,800 households, from NRS's rounded 2022 census results.
NRS mid-2020 estimates: Livingston 56,840, Bathgate 23,600, Broxburn 15,970, Linlithgow 12,840 and Armadale 12,720.
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.
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.
Historic Environment Scotland describes it as a waste heap of residue from the destructive distillation of shale to extract oil.
No venue is involved: a pupil in Fauldhouse and one in Linlithgow both join from home by video.
Yes, and Higher too, with maths at both levels. We teach understanding and never promise grades.
Anyone between six and 67: block coding suits the youngest, Python and exam maths suit secondary pupils, and adults often choose Python with data.
There is no charge for the trial. Afterwards, group tuition is USD 100 monthly and one-to-one USD 150 monthly.
Yes. Let us know your school's holiday weeks and we leave them free.
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.