What are the best coding classes in Shetland?
The Shetland Islands council area had about 22,900 residents in roughly 10,600 households at the 2022 census, at 15.6 people per square kilometre. Lerwick is the main town, Scalloway and Brae are the only other settlements NRS lists as localities, and many islanders live in smaller places on the Mainland of Shetland and on isles such as Whalsay, Bressay, Yell and Unst. Our lessons are taught live on video from India, so an island postcode changes nothing, and a free first lesson finds each learner's stage, from P1 to S6 or adult. Anyone aged 6 to 67 can learn coding, Python and maths in a group of five to ten or one-to-one. The Shetland project starts with Lerwick's latitude. Continuing costs USD 100 a month in a group, or USD 150 a month with a teacher of your own.
The Met Office weather station at Lerwick has kept monthly records since 1930, and its data file gives the station's position in a single line: latitude 60.139, longitude -1.183. Sailors, pilots and many map apps would write the same place as 60 degrees, 8 minutes and 20.4 seconds north, counting in sixties the way people have done for thousands of years. Converting between the two looks like simple arithmetic, yet a first attempt at the code usually contains a bug that prints impossible times such as 59 degrees, 59 minutes and 60 seconds. This page's project writes the converter in Python, finds that bug, and discovers why a degree of longitude in Shetland is only half as long as one at the equator.
Facts last verified 26 September 2026. Teaching is online; no Shetland Islands branch is claimed.
A P3 in Lerwick who loves maps, a P6 in Scalloway ready for real code, an S4 on Whalsay working towards National 5, and an adult in Brae who needs spreadsheets to behave. Every one of them starts with a free trial.

Block coding with compass directions, clocks and treasure-map games.
See the syllabus
Angles, time and conversions between units, worked out in code.
See the syllabus
Secondary maths in depth, from trigonometry to the geometry of the Earth.
See the syllabus
Python for adults from zero, including clean handling of numbers and units.
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 islands-wide totals are rounded first results from the 2022 census by National Records of Scotland. Settlement sizes are separate NRS estimates for mid-2020.
| Locality | Residents |
|---|---|
| Lerwick | 6,760 |
| Scalloway | 1,170 |
| Brae | 750 |
Shetland has 15.6 residents per square kilometre, under a quarter of the Scottish 69.8. Our sums of the census age bands give 16.6 per cent of islanders under 15, above Scotland's 15.3, and 21.8 per cent aged 65 or over, against 20.1. Shetland Islands Council sets school terms; we have not looked them up, so each family tells us its own holidays.
See Orkney and the Western Isles. For qualifications: Higher Maths and National 5 Computing Science.
Base 60 for angles, and the bug hidden in the last digit.
A degree splits into 60 minutes and a minute into 60 seconds, exactly like hours on a clock. To convert 60.139 degrees, keep the whole 60, multiply the leftover 0.139 by 60 to get 8.34 minutes, keep the 8, and multiply the leftover 0.34 by 60 to get 20.4 seconds. So Lerwick's station sits at 60 degrees, 8 minutes, 20.4 seconds north, and its longitude of 1.183 degrees becomes 1 degree, 10 minutes, 58.8 seconds west. The learner codes those steps in Python in a few lines and they seem to work.
| Input | Step-by-step then round | Round once, then split |
|---|---|---|
| 60.139 | 60 deg 8 min 20.4 s | 60 deg 8 min 20.4 s |
| 1.183 | 1 deg 10 min 58.8 s | 1 deg 10 min 58.8 s |
| 59.99999 | 59 deg 59 min 60.0 s | 60 deg 0 min 0.0 s |
| A million values from 60 to 61 degrees | 828 print 60.0 seconds | None |
The bug appears when the seconds round up to 60. Rounding 59.964 seconds to one decimal gives 60.0, but by then the program has already fixed the minutes, so nothing carries over. Among a million evenly spaced values between 60 and 61 degrees, the step-by-step method prints an impossible 60.0 seconds 828 times, and 8,328 times if it rounds to whole seconds. The cure is to convert everything to seconds first, round once, and only then split into degrees, minutes and seconds with whole-number division. The learner also meets a quieter surprise: the computer stores 60.139 as 60.139000000000002899, so 0.139 times 60 comes out as 8.340000000000174, a reminder that decimals in binary are rarely exact.
Next, distance. Lines of latitude are evenly spaced, so a minute of latitude is always about 1.85 kilometres, roughly a nautical mile. Lines of longitude squeeze together towards the pole. On a spherical Earth, a degree of longitude is 111.2 kilometres at the equator but only 55.4 km at Lerwick, because the cosine of 60 degrees is one half. Finally the learner converts the file's own grid reference, 445300 east and 1139700 north, into latitude and longitude with the Ordnance Survey's published formulas, and lands about 94 metres from the stated 60.139, which is inside the rounding: a third decimal place of latitude spans about 111 metres.
Convert minutes to hours and seconds to minutes in a Scratch quiz, then try the same with degrees on a map.
Write the step-by-step converter in Python, feed it 59.99999, and fix the 60-second bug.
Test the converter on a million values, compute longitude spacing with cosines, and convert an OS grid reference yourself.
The coordinates come from the Met Office Lerwick data file. The conversions, the bug counts and the distances come from our own program, using a spherical Earth of radius 6,371 km for the distance figures.
What the Met Office file states about its station.
| File detail | What it says |
|---|---|
| Grid position | 445300 east, 1139700 north |
| Latitude and longitude | 60.139 and -1.183 |
| Height | 82 metres above mean sea level |
| First month in the file | December 1930 |
| Measurements | Maximum and minimum temperature, air frost days, rain and sunshine by month |
Conversions between coordinate formats run inside every phone map, ship chart plotter, drone and delivery app. When they fail, a location can be shown with 60 seconds, a point can be placed in the sea, or a route can drift by a kilometre. A Shetland pupil who has chased down the carry bug and measured a degree of longitude at home understands exactly why careful code matters for navigation.
We have no link with the Met Office, the Ordnance Survey or Shetland Islands Council. Their published figures are theirs; the converter, the tests and any mistakes are ours.
Stages are a starting point only; the free trial settles the level.
Block coding with directions, time and simple map games.
Coding for KidsScratch Coding for KidsTyped Python converting times, angles and distances.
Maths Through CodingPython and AI for KidsCosines, coordinates and thorough testing beside National 5, Higher and Advanced Higher courses.
High School MathematicsPython for TeensPython for adults, with careful rounding, units and data.
Python MasterclassData Analysis CourseThe bug only shows in rare inputs, which is exactly where casual testing never looks.
Ask a chatbot for a function that turns decimal degrees into degrees, minutes and seconds and the step-by-step version is a common answer. It works for every example you are likely to try, and prints 60.0 seconds for a fraction of real inputs that no one checks.
A Shetland learner who has tested a million values knows how to catch rare-case bugs in generated code. That kind of testing is what turns AI output into something safe to rely on.
Catching the bug that appears once in a thousand inputs is why a Shetland teenager should keep learning to code in 2026. The longer argument is in why teenagers should still learn to code in 2026.
Whether on the Mainland or a smaller isle, learners join from home.
Whalsay, Yell, Bressay or Lerwick itself: a laptop and a connection that carries video are enough.
Teachers use P and S stages and the National 5, Higher and Advanced Higher names Shetland pupils know. Lessons are in English.
One full lesson costs nothing, and afterwards we say plainly what would suit.
Groups of five to ten learners who share a stage, joining from all over.
Twice a week in term, with the school holidays off.
When the clocks change, your lesson stays at its UK hour; our teachers on India time move instead.
Why island groups are wide
On a single isle there may be nobody else at your stage. Grouping by stage across a wide pool gives a learner on Foula or Fair Isle a proper class.
Lerwick or Unst, the fee is the same, the rate we charge in every country outside India.
A full free lesson, then an honest recommendation.
About eight lessons a month in a group of five to ten.
About eight lessons a month, one learner and one teacher.
Fees are in US dollars only, with no sterling list. Once the free trial has settled a course and a weekly time, billing begins; our pricing page explains holidays, absences and moving between group and private lessons.
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
Say which isle you are on, the learner's age or stage, and what interests them. We might start with a Scratch game, a first Python program, or the coordinate converter on this page.
The islands, the Lerwick project and practical matters.
The 2022 census counted about 22,900 residents in Shetland, living in around 10,600 households, as rounded by NRS.
NRS mid-2020 estimates list Lerwick at 6,760, Scalloway at 1,170 and Brae at 750.
Learners convert the Lerwick station's 60.139 degrees into degrees, minutes and seconds in Python, find the rounding bug that prints 60 seconds, and work out that a degree of longitude there is about 55.4 km.
Lines of longitude meet at the poles, so they get closer together as you go north. At about 60 degrees north the gap is roughly half what it is at the equator.
The Met Office data file gives latitude 60.139 and longitude -1.183, at 82 metres above mean sea level.
Yes. All lessons are online, so anyone with a steady internet connection can take part.
Yes, and National 5 Maths and Computing Science. We aim for understanding and do not promise grades.
Six to 67. Children start with blocks, secondary pupils move into Python and exam maths, and adults begin Python wherever suits them.
The trial lesson is free; afterwards a group place is USD 100 a month and one-to-one USD 150 a month.
Yes. Pass on your school's holiday weeks and we leave them free.
Orkney shares out dyke repairs with a matching algorithm and the Western Isles compare sunshine with daylight. The Highlands page draws arches with curves. Every council is on our Scotland page, and the UK hub covers the rest.