What are the best coding classes in South Ayrshire?
Scotland's 2022 census counted about 111,600 people in South Ayrshire, in roughly 52,500 households, at 91.3 people per square kilometre. Ayr is much the largest place, with Troon and Prestwick close behind each other, then Girvan and Maybole, and villages such as Coylton, Tarbolton and Symington. We teach every class in real time over video from India; a first lesson, free, works out where each learner belongs, anywhere from P1 to S6 or adult study. Coding, Python and maths are available to ages 6 to 67, taught one-to-one or in a small group of five to ten. The South Ayrshire project begins at Prestwick's old salt works. Families who carry on pay USD 100 a month for a group or USD 150 a month for one-to-one.
Beside a golf course in Prestwick stand two plain stone buildings that Historic Environment Scotland lists at Category A. They were built around 1760 as the Maryburgh Salt Works, with salt pans below and housing above, and the listing says they appear to be the most complete remains of salt boiling to survive in Scotland. The idea was simple: heat seawater in a big iron pan until the water has gone and salt is left. The cost was fuel, lots of it. How much, and which of the many unknowns really decides the answer? This page's project builds a mass and energy budget in Python, then pushes every assumption up and down to see which one moves the result most.
Facts last verified 26 September 2026. Teaching is online; no South Ayrshire branch is claimed.
A P3 in Troon who likes experiments, a P7 in Prestwick about to try typed code, an S5 in Ayr taking Higher, and an adult in Girvan learning to model costs at work. For each, the first step is a free lesson.

Scratch projects with heating, cooling and simple science simulations.
See the syllabus
Ratios, percentages and units handled properly, by writing code.
See the syllabus
Complete Python for teenagers, including physics models and checks.
See the syllabus
Data analysis for adults, from spreadsheets to what-if models in Python.
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-wide count is National Records of Scotland's rounded first result from the 2022 census. Figures for individual towns come from an NRS series for mid-2020.
| Locality | Residents | Locality | Residents |
|---|---|---|---|
| Ayr | 46,260 | Dundonald | 2,570 |
| Troon | 14,950 | Coylton | 2,160 |
| Prestwick | 14,880 | Mossblown | 2,100 |
| Girvan | 6,330 | Tarbolton | 1,860 |
| Maybole | 4,580 | Symington | 1,510 |
South Ayrshire has 91.3 residents per square kilometre, a little above the Scottish 69.8. Its population is older than the national average: our sums of the census age bands give 26.3 per cent of residents aged 65 or over, against Scotland's 20.1, and 14.1 per cent under 15, against 15.3. Nobody here has read South Ayrshire Council's term dates, so families tell us their holidays directly.
Our North Ayrshire page rotates the stars back to 1638. For Scottish exams, see National 5 Computing Science and Higher Maths.
A budget for water, heat and coal, and a test of every assumption.
Every number in the model is an assumption, labelled as one. Seawater is taken to hold 35 grams of salt per kilogram, a typical figure for the open sea. To get one tonne of salt, the pan must take in about 28,571 kilograms of seawater and boil off 27,571 kilograms of water. The water first has to be warmed from 10 degrees to boiling, and then turned into steam, which needs far more energy per kilogram than the warming. The learner adds the two parts, divides by the energy in a kilogram of coal, taken as 25 megajoules, and allows for a pan that turns only a fifth of the coal's heat into useful work.
| Quantity | Result |
|---|---|
| Seawater needed | 28,571 kg |
| Water boiled away | 27,571 kg |
| Heat needed | 73.0 gigajoules, 85 per cent of it for boiling rather than warming |
| Coal for a perfect pan | About 2.9 tonnes |
| Coal for a pan 20 per cent efficient | About 14.6 tonnes |
| Salinity typed as 3.5 instead of 35 | 285,714 kg of seawater, ten times too much |
Then the sensitivity check. The learner moves one assumption at a time between a low and a high value and records how much the coal changes. Pan efficiency, from 10 to 30 per cent, swings the answer by about 19.5 tonnes. The energy in the coal, from 20 to 30 megajoules per kilogram, swings it by about 6 tonnes, and the saltiness of the sea, from 30 to 38 grams per kilogram, by about 3.7 tonnes. The temperature of the incoming sea, from 5 to 15 degrees, barely matters: less than a quarter of a tonne. So if a historian wanted a better estimate, the first thing to find out would be how efficient the pans were, not how warm the sea was.
The last row is the bug. Salinity is often quoted as 3.5 per cent, and typing 3.5 into code that expects grams per kilogram silently makes everything ten times too large. Two simple checks, that the seawater must weigh more than the salt and the water boiled must weigh less than the seawater, will not catch it. A better test compares the answer with a rough figure worked out by hand, which is the habit this project builds.
Dissolve salt in warm water, leave it to evaporate, and build a Scratch animation of a pan boiling dry.
Write the mass budget in Python for one tonne of salt and try different saltiness values.
Add the energy terms, run the one-at-a-time sensitivity check, and draw a bar chart ranking the assumptions.
The buildings and their history come from the Historic Environment Scotland listing. Salinity, temperatures, coal energy, pan efficiency and every result are assumptions or outputs of our own model, not records of how the Maryburgh Salt Works operated.
What the Category A listing records.
| Listing detail | What it records |
|---|---|
| Built | Circa 1760, for the salt boiling industry, as the Maryburgh Salt Works |
| Form | A pair of parallel two-storey blocks, probably salt pans with housing above |
| Rarity | Appear to be the most complete salt-boiling remains to survive in Scotland |
| Early mention | Prestwick burgh records use the term salt pan hous on 12 February 1480 |
| Later records | Applications for salt pans discussed on 25 June 1763 and 7 September 1765 |
Energy budgets and sensitivity checks sit behind decisions about heating homes, running data centres, planning solar farms and designing batteries. The question is always the same: which assumption, if wrong, would change the answer most? A South Ayrshire student who has ranked the guesses in a salt budget has learned where to spend effort when checking any model.
Neither Historic Environment Scotland nor South Ayrshire Council has any link with us. The listing facts are theirs; the salt budget and any slips in it are ours.
A rough guide; the free lesson sets the actual starting point.
Block coding with simple experiments, timers and changing states.
Scratch Coding for KidsCoding for KidsTyped Python with units, percentages and conversions.
Maths Through CodingPython and AI for KidsPhysics and data models beside National 5, Higher and Advanced Higher courses.
Python for TeensHigh School MathematicsPython and data analysis for adults building estimates and scenarios.
Data Analysis CoursePython MasterclassA precise-looking answer can rest on one shaky number.
Ask a chatbot how much coal it takes to make a tonne of salt and it will give a figure, perhaps with a formula. It rarely shows how much that figure would move if the efficiency were half or double, and it will not know whether you meant per cent or grams per kilogram.
A South Ayrshire learner who has run a sensitivity check knows to ask which input drives the result, and to check units before trusting a number. Those two questions turn an AI's answer into something you can defend.
Knowing which assumption drives an answer is why a young person in South Ayrshire should still learn to code in 2026. The longer argument is in why teenagers should still learn to code in 2026.
Coastal towns and inland villages alike join from a laptop at home.
The learner writes the code; the teacher watches the shared screen and guides the next step.
A Prestwick S2 or an Ayr P5 will hear the Curriculum for Excellence names they know, through to Advanced Higher. Lessons are in English.
One whole lesson without charge, then an honest word on what fits.
Classmates are grouped by stage and come from several countries.
Lessons run twice a week in term and stop for the holidays.
Your lesson holds its UK time when the clocks move; the teachers in India time adjust.
Why classes mix towns
Five learners at one stage, all free at the same hour, rarely live in one Ayrshire town. Grouping by stage across a wide pool gives someone in Maybole or Coylton a class that suits.
Ayr or Maybole, the fee is identical, and the same everywhere we teach apart from India.
A complete trial lesson, free, then a clear suggestion.
About eight lessons a month with five to ten classmates.
About eight lessons a month, just you and the teacher.
Fees are set in US dollars, and there is no sterling list. Payment starts only after the trial has fixed a course and a weekly time; the pricing page explains holidays, missed lessons and switching between group and one-to-one.
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
Let us know the learner's age or school stage and what they enjoy, and we will plan a first lesson around it, perhaps a Scratch experiment, a Python program or the salt budget on this page.
The council area, the salt pan project and how lessons work.
Rounded census figures for 2022 put South Ayrshire at about 111,600 residents in roughly 52,500 households.
NRS mid-2020 estimates give Ayr 46,260, Troon 14,950, Prestwick 14,880, Girvan 6,330 and Maybole 4,580.
Learners build a Python budget for boiling seawater down to a tonne of salt, find it needs about 73 gigajoules of heat, and use a sensitivity check to show that pan efficiency matters far more than sea temperature.
The energy needed to change a substance from one state to another without changing its temperature, such as turning boiling water into steam.
Historic Environment Scotland dates them to about 1760, built as the Maryburgh Salt Works, and lists them at Category A.
No; everything is online, so a learner in Tarbolton joins in exactly the way one in Ayr does.
Yes, along with National 5 Maths and Computing Science. We build understanding and never promise grades.
From 6 up to 67: blocks for young children, Python and exam maths for secondary pupils, and Python or data skills for adults.
Nothing for the trial lesson. After that it is USD 100 per month in a group or USD 150 per month one-to-one.
Classes pause. Tell us your school's holiday weeks and we leave them clear.
East Ayrshire hunts for a verse form in Burns, North Ayrshire rotates star positions, and Dumfries and Galloway counts stars under dark skies. See all councils on our Scotland page, or the UK hub for everywhere else.