Revision sorted in minutes, OCR and AQA GCSE Cmputer Science - Get instant Access

5 techniques to help you learn to code

July 23, 20201 min read

5 Techniques to Help You Learn to Code

Ever wanted to learn how to write computer programs? With these 5 tips you can learn how to write code using any programming language.

Learning programming

1) Have a go!

You can not possibly hope to learn without trying it for yourself, many programs are free to download. To download a free copy of Python, go to their website https://www.python.org/downloads/

2) Set realistic problems

If you try to make something overly complicated that you are not ready for it will be confusing and may turn you away from coding in the future. Use small challenges that build in complexity in small steps. Start off with the basics such as input and output, If statements and loops before you build up into using lists and subroutines and finally writing to external files and creating a graphical user interface.

3) Break it down

Break a large problem into smaller chunks and make sure each section works correctly before moving onto the next. Use comments to block out sections of code that you are not currently working on to help you test only the specifics you want to focus on. See these ready to use Python challenges which focus on key skills that even include the answers..

4) Look at somebody else’s program

Looking at another programmers’ code is a great way to learn but be ware there may be several ways of solving a problem.

5) Ask for help

Go on chatrooms and look to see if it has already been answered. If it has not been asked before then post your problem and any code you have already created as programmers love to get their teeth stuck into a new problem and tell you where your code may be going wrong

Back to Blog

Short on time? Start here

If you’re reading this and thinking “I understand this, but I don’t have the time or energy to build it all from scratch” that’s completely reasonable.

A lot of secondary computing teachers use ready-made resources that are already widely used and well reviewed so they can stop second guessing themselves and protect their energy.

If that’s you, I’ve put together a quick guide to help you find the right computer science lessons for what you need today, whether that’s free options, exam focused support, a one-off ready-to-teach unit or ongoing help.

You can start here:

Other teachers also enjoyed this post...

Blog Image

AI Proof Homework Tasks

Discover 5 engaging AI challenges for KS3 & KS4 computing lessons. Boost digital literacy, critical thinking, coding and independent learning in your classroom.

AI activities for computing lessonsAI classroom challengesAI homework ideasTeaching AIComputing lesson ideas
AI Escape Room The Museum of Mistakes
Computer Science Lessons with Nichola Wilkin Ltd

Empowering computing teachers with accessible, quality computer science lessons.

© 2026 Nichola Wilkin Ltd