---
title: "Coding Classes in West Lothian | Live Online, Ages 6 to 67"
description: "Live online coding, Python and maths classes across West Lothian, from Livingston, Bathgate and Broxburn to Linlithgow, Armadale, Whitburn and East Calder."
canonical: https://learn.modernagecoders.com/coding-classes-in-west-lothian
source: src/pages/coding-classes-in-west-lothian.html
---
> Live online coding, Python and maths classes across West Lothian, from Livingston, Bathgate and Broxburn to Linlithgow, Armadale, Whitburn and East Calder.

Skip to contentCourses 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.

[![Coding for Kids course thumbnail](/images/kids-coding.webp)Ages 6 to 12Coding for KidsBlock coding with falling objects, piles and simple physics rules.See the syllabus](/courses/kids-coding-blocks-masterclass)[![Python and AI for Kids course thumbnail](/images/python-kids.webp)Ages 9 to 13Python and AI for KidsA first typed language, with grids, loops and small simulations.See the syllabus](/courses/python-ai-kids-masterclass)[![Python for Teens course thumbnail](/images/python-teens.webp)Ages 12 to 18Python for TeensComplete Python for teenagers, including 2D grids and simulation.See the syllabus](/courses/python-complete-masterclass-teens)[![Data Analysis Course course thumbnail](/images/data-analysis-college.webp)AdultsData Analysis CourseData analysis for adults, from spreadsheets to Python models and charts.See the syllabus](/courses/data-analysis-mastery-course-college)

Browse the [course atlas](/course-atlas) for more than one hundred options and use the [coding roadmap](/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.

[![Vibe Coding for Teens course thumbnail](/images/vibe-coding-teens.webp)Vibe codingAges 13 to 17Vibe Coding for TeensPython, web and AI projects where the learner still owns the thinking.See the syllabus](/courses/vibe-coding-for-teens-python-web-ai-projects-course)[![Python Automation Course course thumbnail](/images/python-college.webp)Python and AICollege and adultPython Automation CourseAutomate the work you already do, then let AI carry part of it.See the syllabus](/courses/python-ai-automation-masterclass-college)[![AI and Machine Learning for Teens course thumbnail](/images/ai-ml-teens.webp)AI and MLAges 14 to 18AI and Machine Learning for TeensTrain a model, read what it learned, and be able to say why it is wrong.See the syllabus](/courses/ai-ml-masterclass-teens)[![Codex & Claude Code course thumbnail](/images/codex-claude-code-adults.webp)Agentic codingProfessionalsCodex & Claude CodeRun AI coding agents on real work without losing control of the codebase.See the syllabus](/courses/codex-and-claude-code-ai-coding-agents-masterclass-for-adults-professionals)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.

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

### Edinburgh and exams

The [Edinburgh](/best-coding-class-in-edinburgh) page covers the capital. For qualifications: [National 5 Computing Science](/national-5-computing-science-help) and [Higher Maths](/higher-maths-tuition-online).

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.

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

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

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

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 Kids](/courses/kids-coding-blocks-masterclass)[Scratch Coding for Kids](/courses/scratch-programming-complete-course)P5 to S2

### Grids and loops

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

[Python and AI for Kids](/courses/python-ai-kids-masterclass)[Maths Through Coding](/courses/maths-through-coding)S3 to S6

### Simulation and modelling

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

[Python for Teens](/courses/python-complete-masterclass-teens)[High School Mathematics](/courses/complete-high-school-mathematics-mastery)Adults

### Models and data

Python and data analysis for adults working with models.

[Data Analysis Course](/courses/data-analysis-mastery-course-college)[Python Masterclass](/courses/python-programming-masterclass-zero-to-advanced-college)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](/blog/is-coding-worth-learning-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 class**USD 0**

A full free trial, then a clear recommendation.

Group tuition**USD 100**

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

Private tuition**USD 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.

Request placement[Check availability](https://wa.me/919123366161?text=Hello%20Modern%20Age%20Coders%2C%20we%20are%20in%20West%20Lothian%20and%20would%20like%20to%20book%20a%20free%20lesson%2C%20please.)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.

### Contact the team directly

WhatsApp or call [+91 91233 66161](tel:+919123366161), or email [contact@modernagecoders.com](mailto:contact@modernagecoders.com). This is Modern Age Coders' actual contact, an Indian number, and not an invented West Lothian one.

[WhatsApp Modern Age Coders](https://wa.me/919123366161?text=Hello%20Modern%20Age%20Coders%2C%20we%20are%20in%20West%20Lothian%20and%20would%20like%20to%20book%20a%20free%20lesson%2C%20please.)

Submitted details are used for placement and follow-up.

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](/coding-classes-in-falkirk) grows seeds at the golden angle, [Midlothian](/coding-classes-in-midlothian) finds sunlit faces on a sundial, and [Edinburgh](/best-coding-class-in-edinburgh) has its own page. See every council on the [Scotland](/coding-and-ai-classes-in-scotland) page, or the [UK hub](/coding-classes-in-united-kingdom) for the rest.

Book the free class[Message us on WhatsApp](https://wa.me/919123366161?text=Hello%20Modern%20Age%20Coders%2C%20we%20are%20in%20West%20Lothian%20and%20would%20like%20to%20book%20a%20free%20lesson%2C%20please.)Free West Lothian class[Call +91 91233 66161](tel:+919123366161)

## Keep exploring Modern Age Coders

### Coding classes in nearby places

- [Coding Classes in West Sussex](/coding-classes-in-west-sussex)
- [Coding Classes in West Dunbartonshire](/coding-classes-in-west-dunbartonshire)
- [Coding Classes in West Yorkshire](/coding-classes-in-west-yorkshire)
- [Coding Classes in West Bengal](/coding-classes-in-west-bengal)
- [Coding Classes in Westland](/coding-classes-in-westland)
- [Coding Classes in Weesp](/coding-classes-in-weesp)
- [Coding Classes in Cornwall](/coding-classes-in-cornwall)
- [Coding Classes in Conwy](/coding-classes-in-conwy)
- [Coding Classes in Clackmannanshire](/coding-classes-in-clackmannanshire)
- [Coding Classes in Leidschenveen-Ypenburg](/coding-classes-in-leidschenveen-ypenburg)

### Free resources

- [HTML & CSS Tutorial: Build Websites from Scratch](/resources/html-and-css)
- [Typography and Google Fonts](/resources/html-and-css/typography-and-fonts)
- [CSS Selectors and Specificity](/resources/html-and-css/css-selectors-and-specificity)
- [File Handling (ifstream, ofstream, fstream)](/resources/cpp/file-handling-in-cpp)

### From the blog

- [35 Basic Python Programs for Beginne With Code and Output](/blog/python-basic-programs-for-beginners)
- [Star Pattern Programs in Python: 30 Patterns With Code](/blog/star-pattern-programs-in-python)
- [How to Reverse a String in Python: 5 Easy Methods](/blog/how-to-reverse-a-string-in-python)

### Start here

- [What Modern Age Coders families say](/love)
- [Book a free demo class with Modern Age Coders](/book-demo)

---

*Canonical: https://learn.modernagecoders.com/coding-classes-in-west-lothian*
