---
title: "Coding Classes in the Scottish Borders | Online, Ages 6 to 67"
description: "Live online coding, Python and maths classes across the Scottish Borders, from Hawick, Galashiels and Peebles to Kelso, Selkirk, Jedburgh and Melrose."
canonical: https://learn.modernagecoders.com/coding-classes-in-scottish-borders
source: src/pages/coding-classes-in-scottish-borders.html
---
> Live online coding, Python and maths classes across the Scottish Borders, from Hawick, Galashiels and Peebles to Kelso, Selkirk, Jedburgh and Melrose.

Skip to contentCourses for the Borders

## How Borders learners start

A P2 in Hawick who loves calendars, a P6 in Peebles ready to type code, an S4 in Galashiels working towards National 5, and an adult in Kelso learning to automate. All of them start with the same free trial.

[![Coding for Kids course thumbnail](/images/kids-coding.webp)Ages 6 to 12Coding for KidsBlock coding with counting, calendars and patterns that repeat.See the syllabus](/courses/kids-coding-blocks-masterclass)[![Maths Through Coding course thumbnail](/images/maths-through-coding.webp)Ages 10 to 15Maths Through CodingRemainders, cycles and number puzzles, made concrete with code.See the syllabus](/courses/maths-through-coding)[![Problem Solving for Teens course thumbnail](/images/problem-solving-teens.webp)Ages 13 to 18Problem Solving for TeensAlgorithms for teenagers, with testing built in from the first program.See the syllabus](/courses/problem-solving-dsa-masterclass-teens)[![Python Masterclass course thumbnail](/images/python-college.webp)AdultsPython MasterclassPython for adults from the start, including dates, data and automation.See the syllabus](/courses/python-programming-masterclass-zero-to-advanced-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)The Borders in numbers

## About 116,900 people across the Borders

Council totals are rounded first results from the 2022 census, published by National Records of Scotland. Town sizes come from a separate NRS series for mid-2020.

| Locality | Residents | Locality | Residents |
| --- | --- | --- | --- |
| Hawick | 10,630 | Eyemouth | 3,580 |
| Galashiels | 10,060 | Langlee | 3,410 |
| Peebles | 9,000 | Innerleithen | 3,180 |
| Kelso | 6,870 | Burnfoot | 2,990 |
| Selkirk | 4,540 | Duns | 2,820 |
| Jedburgh | 3,860 | Melrose | 2,500 |

At 24.7 residents per square kilometre, the Borders are about a third as densely settled as Scotland overall, where the figure is 69.8. Summing the census age bands ourselves, we find 14.4 per cent of residents under 15 and 26.3 per cent aged 65 or over, against 15.3 and 20.1 for Scotland. Tweedbank is the next locality after the table. Term and holiday dates come from Scottish Borders Council, and rather than guess them we ask each household for its own.

### Edinburgh and exams

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

The Borders project

## When is Easter, and can you prove it?

Two formulas, a trusted library, and 2,517 years of tests.

Easter Sunday is set by a rule: the first Sunday after the church's calculated full moon on or after 21 March. The calculated moon follows tables, not the real sky, so the whole thing reduces to whole-number arithmetic with remainders. The learner codes two famous versions. One, often called the anonymous Gregorian algorithm, is a chain of about a dozen divisions and remainders. The other, by the mathematician Carl Friedrich Gauss, is shorter but comes with two special exceptions. Both are then compared with the Easter function in a well-tested Python library, year by year from 1583 to 4099.

| Method | Years checked | Years wrong | Examples |
| --- | --- | --- | --- |
| Anonymous algorithm | 2,517 | 0 | None |
| Gauss, with both exceptions | 2,517 | 0 | None |
| Gauss, exceptions left out | 2,517 | 23 | 1954, 1981, 2049, 2076 |
| Easter 2026 and 2027 | Our code | Not applicable | 5 April 2026, 28 March 2027 |

Gauss's formula without its exceptions looks perfect for decades at a time, then fails. In 1981 it gives 26 April; the real date was 19 April. In 1954 it gives 25 April instead of 18 April, and the next failure is 2049. Only 23 years in more than 2,500 go wrong, which is exactly why the bug survives casual testing: try a handful of recent years and every answer is right. The two exception rules exist precisely to catch those cases.

With a trusted function, the learner can ask bigger questions. The Gregorian Easter pattern repeats only after 5,700,000 years, and a modern laptop can run the whole cycle in seconds. Easter can fall on 35 dates, from 22 March to 25 April. The most common is 19 April, 3.9 per cent of years; the rarest is 22 March, under half a per cent. Within 1900 to 2099, the earliest Easter was 23 March 1913 and the latest will be 25 April 2038. Fewer than a quarter of Easters fall in March.

### Ages 8 to 11

Look up Easter for the last ten years, spot the pattern of moving dates, and build a Scratch quiz on them.

### Ages 11 to 15

Code the anonymous algorithm in Python and compare its answers with a calendar for twenty years.

### Ages 15 and up

Implement Gauss with and without exceptions, test every year against the library, and count dates across the full cycle.

### Abbey history, our arithmetic

The abbey facts come from the Historic Environment Scotland record. The Easter dates, test counts and percentages come from our own program checked against the python-dateutil library; they do not describe how Melrose itself kept its calendar.

Why Melrose Abbey

## Founded in 1136 or 1137

What the scheduled monument record says.

| Record detail | What it says |
| --- | --- |
| Founded | 1136 or 1137, by King David I |
| Water | A lade from a weir on the River Tweed about 500 metres to the west-northwest |
| Cloister | Unusually north of the church, to use the diverted waters of the Tweed |
| Rebuilding | After severe damage by an invading English army in 1385 |
| Later use | A barrel vault inserted around 1621, when the abbey served as a parish church |
| Setting | Beside the historic centre of Melrose, about 80 metres above sea level |

Rare-case bugs like Gauss's missing exceptions are the ones that reach real software: leap years, daylight saving changes, the last day of a month, the rollover to 2000. Calendars, booking systems and payroll programs all depend on date rules that are right almost always. A Borders pupil who has watched a formula fail in 1981 yet pass every year around it knows why professional code is tested against every case, not a sample.

Historic Environment Scotland and Scottish Borders Council have no connection with us. The record's facts are theirs; the Easter code, the tests and any mistakes are ours.

Stages

## From calendars to tested algorithms

Stages are a starting guide; the free lesson confirms the level.

P1 to P4

### Patterns and dates

Block coding with counting, days and repeating patterns.

[Coding for Kids](/courses/kids-coding-blocks-masterclass)[Scratch Coding for Kids](/courses/scratch-programming-complete-course)P5 to S2

### Remainders and rules

Typed Python with division, remainders and simple date puzzles.

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

### Algorithms and proof

Algorithms and systematic testing beside National 5, Higher and Advanced Higher Computing Science.

[Problem Solving for Teens](/courses/problem-solving-dsa-masterclass-teens)[Python for Teens](/courses/python-complete-masterclass-teens)Adults

### Dates in real code

Python for adults, including dates, schedules and data.

[Python Masterclass](/courses/python-programming-masterclass-zero-to-advanced-college)[Data Analysis Course](/courses/data-analysis-mastery-course-college)AI and edge cases

## An AI can write an Easter function in seconds. Will it remember 1981?

A formula that is right almost every year is still wrong.

Ask a chatbot for a function that finds Easter and it may produce Gauss's short formula, sometimes without the two exceptions. Spot-checking recent years will not reveal the problem; only a full comparison against a trusted source does.

A Borders learner who has run the full test knows to check generated code exhaustively whenever the domain allows it. That discipline is the most valuable thing a person brings to AI-written code.

Hunting down the rare year where the answer breaks is a skill no AI supplies, and it is why a Borders teenager should still learn 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 lessons run

## From Eyemouth to Peebles, lessons at home

Across a large rural council area, online lessons remove the drive to an evening club.

### Type, run, fix

The learner writes every line; the teacher follows the shared screen and helps when it breaks.

### The same stage names as school

A Galashiels S3 or a Hawick P6 hears the Curriculum for Excellence terms they already know, up to Advanced Higher. We teach in English.

### A free first lesson

A real lesson, no payment, and then honest advice.

### Peers at your level

Classes gather five to ten learners who share a stage, wherever in the world they happen to live.

### Term time only

Two lessons a week in term; none during the school holidays.

### Clock changes handled

When British clocks go forward or back, your class stays at its usual UK hour; the teachers in India time are the ones who shift.

Why groups reach beyond one town

Five learners at the same stage, free at the same hour, rarely live in one Borders town. Grouping by stage across a wider pool gives a pupil in Duns or Innerleithen a class that fits.

Fees

## Fees in the Scottish Borders

Hawick or Eyemouth, the fee is the same, and it matches every country we teach outside India.

First class**USD 0**

A complete free lesson, followed by a 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 one teacher.

All fees are in US dollars; there is no sterling price list. We bill only after the free lesson has set a course and weekly time, and the pricing page explains holidays, missed lessons and switching formats.

Request placement[Check availability](https://wa.me/919123366161?text=Hello%20Modern%20Age%20Coders%2C%20we%20are%20in%20the%20Scottish%20Borders%20and%20would%20like%20to%20book%20a%20free%20lesson%2C%20please.)Reviews

## Star ratings and comments on Google

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 Borders lesson

A line about the learner is enough: age or stage, plus something they enjoy. From that we plan a first lesson such as a Scratch game, some Python, or the Easter calculation 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 Scottish Borders one.

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

Submitted details are used for placement and follow-up.

FAQ

## Scottish Borders questions

The council area, the Melrose Abbey project and practical points.

### How many people live in the Scottish Borders?

NRS rounds the 2022 census count to about 116,900 residents, in around 55,600 households.

### What are the largest towns in the Scottish Borders?

NRS mid-2020 estimates: Hawick 10,630, Galashiels 10,060, Peebles 9,000, Kelso 6,870 and Selkirk 4,540.

### What is the Melrose Abbey project?

Learners code two Easter formulas in Python, test both against a trusted library for every year from 1583 to 4099, and find that Gauss's formula without its exceptions is wrong in 23 years, including 1981.

### What is the most common date for Easter?

Across the full 5,700,000-year Gregorian cycle, 19 April, in about 3.9 per cent of years, by our calculation.

### When was Melrose Abbey founded?

Historic Environment Scotland says it was founded in 1136 or 1137 by King David I.

### Are lessons held in the Borders?

No building is involved. Pupils in Jedburgh, Selkirk or a farm near Duns connect by video from home.

### Do you teach National 5 Maths?

Yes, along with Higher Maths and Computing Science. We teach understanding and make no promises about grades.

### Who can join?

Anyone aged 6 to 67, from young children using blocks to adults starting Python.

### What does it cost?

One trial lesson at no charge; after it, a group seat is USD 100 per month and one-to-one tuition USD 150 per month.

### Do lessons stop for school holidays?

We follow your school's calendar: when the Borders holidays begin, lessons stop, and they pick up again in the new term.

Nearby

## Other pages near the Borders

Next door in our series, [Midlothian](/coding-classes-in-midlothian) works out which faces of a sundial catch the sun, [East Lothian](/coding-classes-in-east-lothian) models Bass Rock gannets and [Dumfries and Galloway](/coding-classes-in-dumfries-and-galloway) counts dark-sky stars. The full list is on our [Scotland](/coding-and-ai-classes-in-scotland) page. The [UK hub](/coding-classes-in-united-kingdom) covers the rest.

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

## Keep exploring Modern Age Coders

### Coding classes in nearby places

- [Coding Classes in Segbroek, The Hague](/coding-classes-in-segbroek)
- [Coding Classes in Schiedam](/coding-classes-in-schiedam)
- [Coding & Maths Classes near Sherwood Estate](/coding-classes-in-sherwood-estate)
- [Coding Classes in Scheveningen, The Hague](/coding-classes-in-scheveningen)
- [Coding Classes in the Shetland Islands](/coding-classes-in-shetland)
- [Coding Classes in Rutland](/coding-classes-in-rutland)
- [Coding Classes in Wassenaar](/coding-classes-in-wassenaar)
- [Coding Classes in Voorschoten](/coding-classes-in-voorschoten)
- [Coding Classes in Velsen](/coding-classes-in-velsen)
- [Coding and AI Classes in Nassau, Bahamas](/coding-and-ai-classes-in-nassau)

### Free resources

- [JavaScript Tutorial: Build Interactive Websites](/resources/javascript)
- [Project: Build a Complete Landing Page](/resources/html-and-css/project-build-a-landing-page)
- [Project: Build an Interactive Quiz App](/resources/javascript/project-interactive-quiz-app)
- [Advanced Array and Object Patterns](/resources/javascript/array-and-object-advanced-patterns)

### From the blog

- [Star Pattern Programs in Python: 30 Patterns With Code](/blog/star-pattern-programs-in-python)
- [Abacus vs Vedic vs Mental Maths: A Clear Comparison](/blog/abacus-vs-vedic-vs-mental-maths)
- [Advantages of Functions in Python: 8 Benefits With Examples](/blog/advantages-functions-python-why-every-coder-should-use-them)

### Start here

- [Real projects built by Modern Age Coders students](/student-labs)
- [Browse every live course at Modern Age Coders](/courses)

---

*Canonical: https://learn.modernagecoders.com/coding-classes-in-scottish-borders*
